
9 Dec
2012
9 Dec
'12
2:55 p.m.
I did both things. The destructor never gets called. The native socket changes from 24 to -1 (which I guess it means it is also wrong).
-1 means "invalid descriptor", and this is actually the point where is_open() would return false. But did you spot the moment where it changes to -1?