If the binding is able to use 2.2.0, you can set the recvTimeOut socket option instead of using the poller.
Joshua On Apr 20, 2012, at 3:53 AM, Raphael Bauduin wrote: > Hi, > > I need a process to send a request to a server, and wait a maximum of > (let's say) 300 milliseconds. If no reply comes in this time span, a > default action should be taken. > > Is using a poller the only solution to this? I'm using the ruby > bindings (rbzmq), and didn't see any reference to pollers in the rdoc. > > Thanks > > Raph > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
