[zeromq-dev] tcp source port

Sébastien Rautureau sebrautureau at gmail.com
Sat Oct 5 11:44:41 CEST 2013


Hi all,

It seems impossible to set the tcp source 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131005/4237315a/attachment.htm>


More information about the zeromq-dev mailing list