Thank you for your help.
It does work when I configure  a routing issue.  I wonder zmq can control its own route issue? 
we know the ping tool :
ping <host> -I <source_ip> 
we can specify a source_ip and do not care the system router configuration.
can zmq do the same thing? 

 


------------------ 原始邮件 ------------------
发件人: "Steven McCoy"<[email protected]>;
发送时间: 2012年11月9日(星期五) 下午4:56
收件人: "ZeroMQ development list"<[email protected]>;
主题: Re: [zeromq-dev] puzzled with zmq_socket bind and connect

On Friday, 9 November 2012, 猫 wrote:
sorry, I made a mistake. "the net interface eth0 has two ip 1.2.3.4 and 5.6.7.8"

actually eth0 is  1.2.3.4  while  eth0:1 is 5.6.7.8 according to what ifconfig tool shows

Check this article for setting the source address:


It would appear to be a routing issue?

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

Reply via email to