I'd venture that the pattern chosen is not the one you want. The REP socket (i think) will not process note than one message at a time.
If you're looking for a burst of requests, you might want to try REQ-DEALER.
--You received this message because you are subscribed to the Google Groups "gevent-socketio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gevent-socket...@googlegroups.com.
To post to this group, send email to gevent-...@googlegroups.com.
Visit this group at http://groups.google.com/group/gevent-socketio.
For more options, visit https://groups.google.com/groups/opt_out.
#import gevent#from gevent_zeromq import zmq
import zmq# Global Contextcontext = zmq.Context()
server_socket = context.socket(zmq.DEALER)server_socket.setsockopt(zmq.IDENTITY,b'A')
server_socket.bind("tcp://127.0.0.1:50000")
def server():for request in range(1,10):msg = server_socket.recv()print 'client received %s' % msgprint 'client sending %s' % str(request)if request==5:continueserver_socket.send(str(request))server()
--
Thanks.