[zeromq-dev] tcp source port

Pieter Hintjens pieterh at gmail.com
Sat Oct 5 16:13:42 CEST 2013

What happens if you want to connect one client to multiple servers? Does
each connection need a different local port? If so, this has to be in the
connect string.
On Oct 5, 2013 11:52 AM, "Sébastien Rautureau" <sebrautureau at gmail.com>

> Hi all,
> It seems impossible to set the local port of a tcp client.
> We have to set it (as for POSIX sockets) because our server (with a 0mq
> REP socket) is behind a firewall (not managed by us) which requires
> distant and local port.
> There may be several options :
> - extend the following tcp uri format by adding an optionnal local port =>
> tcp://serveradress:serverport:localport
> - add a new socket option
> What do you think about it ?
> Sebastien
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131005/dfb6d88c/attachment.htm>

More information about the zeromq-dev mailing list