> 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