Hi,
In most ZMQ sockets, the underlying TCP socket can change transparently.
Does that apply to REQ-REP sockets as well? Or will the receive call to ZMQ
socket fail?

sock = new REQ socket;
connect(sock);
while(1) {
request = receive(...);
...
send(response);
}

For example in the above code, let us say that the server with REP socket
on the other side crashed and restarted. What will happen?

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

Reply via email to