[zeromq-dev] What ZMQ socket state is maintained upon disconnect?

Merijn Verstraaten merijn at inconsistent.nl
Tue Jul 23 12:31:20 CEST 2013


Hello!

Lines like "• SHALL create a queue when a subscriber connects to it. If this subscriber disconnects, the PUB socket SHALL destroy its queue and SHALL discard any messages it contains." from the PUBSUB RFC lead me to believe that while the protocol dictates automatic reconnects upon connection loss, the listening side is not required to maintain state?

i.e., the only socket maintaining state about (like subscriptions, queued messages, etc.) is the connecting socket, correct?

Cheers,
Merijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130723/be0f08dd/attachment.sig>


More information about the zeromq-dev mailing list