Hi,

I have been using ZMQ_PAIR recently for a one to one data feed over TCP.  I 
know the documentation doesn't explicitly say this should work (over TCP) but 
for the most part it does. Last week I came across a situation where the bind 
end of the connection had reconnection issues if no data is flowing during the 
bounce of the TCP connection.

Before I go to the trouble of recreating/documenting the behavior (I won't call 
it a bug at this point) I want to know if there is support in the zeromq 
community for ZMQ_PAIR to be supported over TCP? As far as I can tell the 
documentation doesn't explicitly say either way.

I know there are other patterns (PUB/SUB, PUSH/PULL) that support TCP but they 
are not as simple as the ZMQ_PAIR where you want a strict bi directional one to 
one relationship.

If it's the case that ZMQ_PAIR is only to be used over inproc then maybe the 
connect/bind should fail for anything other than inproc so people don't make 
mistakes and assume it's going to work.

Thanks

James
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to