[zeromq-dev] req-rep with max delay, in Ruby
Joshua Foster
jhawk28 at gmail.com
Fri Apr 20 14:51:35 CEST 2012
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
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list