[zeromq-dev] Bind to local ip address
Mikko Koppanen
mikko at kuut.io
Fri Dec 9 00:52:04 CET 2011
On Thu, Dec 8, 2011 at 11:43 PM, fredrik danerklint
<fredan-zmq at fredan.se> wrote:
>> 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");
Hi,
I guess another option would be to use zmq_setsockopt/zmq_getsockopt.
This would work a bit like HWM so it would affect subsquent connects /
binds.
--
Mikko
More information about the zeromq-dev
mailing list