$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] socket.is_open returning false when it is in use
From: Igor R (boost.lists_at_[hidden])
Date: 2012-12-09 09:55:24
> 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?