[zeromq-dev] Connect to a different host, same socket.

Pieter Hintjens ph at imatix.com
Wed Aug 4 19:56:49 CEST 2010


On Wed, Aug 4, 2010 at 7:48 PM, Oliver Smith <oliver at kfs.org> wrote:

> But the only way to close a socket in C++ seems to be to destroy the
> socket_t?

Yes, there is no way to disconnect, and if you simply make a second
connection you will have two active at the same time.

-Pieter



More information about the zeromq-dev mailing list