I don't believe this is correct, the correct way to close a Socket in C# is to Dispose() it.
On Mon, Nov 7, 2011 at 2:22 AM, Martin Sustrik <[email protected]> wrote: > On 11/07/2011 11:17 AM, Ilja Golshtein wrote: >> 07.11.2011, 13:54, "Martin Sustrik"<[email protected]>: >>> However, adding the functionality is easy (have a look at other language >>> bindings for inspiration), so I suggest you add the function yourself >>> and ask clrzmq2 maintainers to merge it into the project. >> >> Not sure such an attempt to bypass GC is natural from C# standpoint. > > 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 > > Martin > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
