Boost logo

Boost Users :

Subject: Re: [Boost-users] asio, check remote socket open
From: Eric MALENFANT (Eric.Malenfant_at_[hidden])
Date: 2010-07-08 14:31:13

De : Lloyd
> I am not in a position to call async_read, as it will read out some
> valuable
> data (if the connection is not closed).

I *think* (never tried it) you could call async_receive() with the message_peek flag.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at