[zeromq-dev] How should sockets be destroyed?

Olaf Mandel o.mandel at menlosystems.com
Mon Feb 24 18:16:27 CET 2014

Am 24.02.2014 18:09, schrieb Laurent Alebarde:
> As you are using LINGER, the sockets stays alive for the time specified.
> In your test, where you want absolutly to use one variable, you shall
> set LINGER to 0.

As per one of my earlier posts, that is what I did:

> int main(void)
> {
>     int const l = 0;
> ...
>         rc = zmq_setsockopt(socket, ZMQ_LINGER, &l, sizeof(l));
> ...

And the problem persists with or without ZMQ_LINGER.

Best regards,
Olaf Mandel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140224/d5a6aff3/attachment.sig>

More information about the zeromq-dev mailing list