[zeromq-dev] zmq_close() semantics and handling outstanding messages

Martin Lucina mato at kotelna.sk
Wed Jul 7 18:40:44 CEST 2010


On 7/7/2010, "Dhammika Pathirana" <dhammika at gmail.com> wrote:

>Not really, TCP close() just indicates "done reading and writing". But
>the OS can still send a RST (ie. receiving more data for the closed
>socket), and terminate the connection.

Sure, which is fine. After a close() we don't want to receive any more
messages sent to the 0MQ socket either.

-mato



More information about the zeromq-dev mailing list