Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] reconnect without close the socket, is it possible?
From: TONGARI J (tongari95_at_[hidden])
Date: 2013-07-28 08:42:56


2013/7/26 Bjorn Reese <breese_at_[hidden]>

> On 07/25/2013 06:26 PM, TONGARI J wrote:
>
> Also, any way to test if the socket is connected?
>>
>
> If is_open() does not work, you could try remote_endpoint().
>

Neither of them helps :(

Even though not connected, remote_endpoint(ec) returns the intended
endpoint without error...



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