ZeroMQ doesn't auto-reconnect
问题 I've just downloaded and installed zeromq-4.0.5 on an Unbutu Precise (12.04) system. I've compiled the hello-world client ( REQ , connect, 127.0.0.1) and server ( REP , bind) written in C. I start the server. I start the client. Each second the client sends a message to the server, and receives a response. I press Ctrl- C to stop the server. The client tries to send its next outgoing message and it gets stuck in an never-returning epoll system call (as shown by strace ). I restart the server.