>>> 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.
>

Well, no.

If you do more than one zmq_connect(...) then you might want to bind to 
more than one local ip address.

I think that this should be, somehow, within the zmq_connect. Either as 
a new optional parameter or as Martin already has suggested.


-- 
//fredan
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to