[zeromq-dev] equivalent of accept

Martin Sustrik sustrik at 250bpm.com
Sun Apr 25 22:09:25 CEST 2010


Varol Okan wrote:

> Is there a plan to add some type of timeout to at least the recv() call
> ? From where I stand that would make sense. Otherwise I would have to
> either come up with a timeout mechanism myself or implement a keepalive
> message between client/server ( though I never liked keepalive's ).

Yep. This should be done.

At the moment it can be done by polling on a socket. zmq_poll has 
timeout parameter.

HTH
Martin



More information about the zeromq-dev mailing list