In the weather server source code (found in the guide) I read the 
following code:

void *publisher = zmq_socket (context, ZMQ_PUB);
int rc = zmq_bind (publisher, "tcp://*:5556");
assert (rc == 0);
rc = zmq_bind (publisher, "ipc://weather.ipc");
assert (rc == 0);
...

Why is the publisher bound to two locations ?
What is the idea behind this ?
Can a socket be bound to several locations ?




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

Reply via email to