Boost logo

Boost Users :

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 04:48:19


Well, the only way to get is_open() == false is to close the socket,
but according to your logs you don't get to stop() function. This's
really strange and I don't have any idea at this point. Maybe the
tcp_session object gets destroyed? Ata a glance, that doesn't seem to
be the case, but try putting some ptint-out in ~tcp_session().
Besides, print socket_.native_handle() every time you access the
socket (read/write/check/close).


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