[zeromq-dev] Issue 85 & 92

Martin Sustrik sustrik at 250bpm.com
Sun Oct 3 07:09:52 CEST 2010


Nir,

>    1. When context is terminated, it will ask sockets to terminate when
>       they are done.
>    2. A socket is done when it does not have pending outgoing messages.

Are you proposing that zmq_close blocks until all messages are sent?

>    3. A terminated socket will return ETERM for any call. This means
>       that all the resources can be released.
>    4. The socket will not be deallocated - the user is responsible
>       for deallocating the socket (you created it, you deallocate it).

Martin



More information about the zeromq-dev mailing list