Hi,

I needed to implement a pattern similar to "lazy pirate" from the guide for my 
project. However, the idea of reconnecting the socket upon timeout looks kind 
of lame to me, so I implemented it differently:

http://pastebin.com/KFSBtK8C

It works okay but is there anything obviously wrong with this approach? Are 
there any potential gotchas?

P.S.: I'm using ZMQ 2.1.x
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to