[zeromq-dev] [patch] binding a source address for tcp outgoing connections

Sergey Matveychuk sem33 at yandex-team.ru
Sat Dec 17 13:19:52 CET 2011


Hi.

I've made a patch for binding a source address as was proposed by 
fredrik danerklint in thread 'Bind to local ip address' lately.

It works as:
zmq_connect(s, "tcp://source;endpoint:port");

source is optional. Interface name should work but it does not (at least 
for me on FreeBSD). But it's not a porblem of the patch, it's a point 
for another patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-to-set-up-a-source-address-for-outgoing-connec.patch
Type: text/x-patch
Size: 5329 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111217/881cd155/attachment.bin>


More information about the zeromq-dev mailing list