Apologies for delayed response. > zmq::message_t msg(strlen(str)); > memcpy(msg.data(), str, strlen(str)+1);
>> This look like an error to me. Thanks Martin, my mistake; but same case persists after correcting above also. > When you kill the server, is the client still receiving messages ? > It may take some time for client to drain receive buffers and detect > the peer is down. Yes it waits for some time until all messages are not finished by client and after this tcp socket remains in close_wait state, I restarted the push server once all messages are read by client, but no re-connection. - Sunil Khatri
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
