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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net