[zeromq-dev] Bind to local ip address

fredrik danerklint fredan-zmq at fredan.se
Fri Dec 9 00:43:16 CET 2011


> What about using PGM-like format for the address:
>
> zmq_connect (s, "tcp://eth0;192.168.0.111:5555");

That could work.

zmq_connect(s, "tcp://127.0.0.2:5555;127.0.0.1");

would then mean connect to 127.0.0.2:5555 from the local ip address 
127.0.0.1.

-- 
//fredan



More information about the zeromq-dev mailing list