As Henrik says, it is normal: for each real socket there two Socket instances.
On 12 July 2011 14:20, Henrik Sperre Johansen <[email protected]> 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 > > -- Best regards, Igor Stasenko AKA sig.
