[zeromq-dev] C# socket_close Syntax

Mikko Koppanen mikko.koppanen at gmail.com
Mon Nov 7 11:42:51 CET 2011

On Mon, Nov 7, 2011 at 10:22 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> Other bindings for languages with GCs do the same thing. See, for
> exmaple, here;
> https://github.com/zeromq/jzmq/blob/master/src/org/zeromq/ZMQ.java#L334


as far as I understand majority of the language with GC leave the
closing to GC. Otherwise this would cause annoying issues where the
object for the socket is valid but the underlying socket is invalid.
There should be no need for explicit close as usually object going out
of scope closes the socket.

Mikko Koppanen

More information about the zeromq-dev mailing list