2013/7/26 Bjorn Reese <breese@mail1.stofanet.dk>
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...