[zeromq-dev] patch: non-blocking tcp accept
dhammika at gmail.com
Tue Apr 28 10:24:19 CEST 2009
Patch to add non-blocking tcp accept.
1. sets non-blocking flag in tcp listener socket
2. moves accept to tcp_listener.in_event()
3. passes native socket descriptor to tcp_socket constructor
Builds and tested on linux.
Would appreciate if someone can run a quick build on a win32 box.
Hopefully it'll build without any drama.
Requires few changes in zmq_server, perf and examples (mainly in
If we're happy with this, I'll send a full patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7189 bytes
Desc: not available
More information about the zeromq-dev