OK thanks, Henry.

This behavior is then to be expected for all objects registered for 
finalization I guess.

On 12 Jul 2011, at 14:20, Henrik Sperre Johansen wrote:

> Didn't really answer these, if it weren't obvious:
> On 12.07.2011 13:38, Sven Van Caekenberghe wrote:
>> Is there really only one OS level socket ?
> Yes, only the one returned from newXYZ gets registered externally.
>> Does this have to do with Sockets being in a WeakRegistry ?
> 
> Yes, the other is used to release the externally registered resource when the 
> one you created is no longer referenced (ie. to finalize it)
> 
> Cheers,
> Henry
> 


Reply via email to