Boost logo

Boost Users :

Subject: Re: [Boost-users] socket.is_open returning false when it is in use
From: Gonzalo Garramuno (ggarra13_at_[hidden])
Date: 2012-12-09 11:43:28


On 09/12/12 11:55, Igor R wrote:
>> 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?
It changes when I call the send method which is virtual.
Nothing in the code changes it.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net