Boost logo

Boost Users :

Subject: [Boost-users] asio: selective cancellation of reads/writes
From: Alexander Fritze (alex_at_[hidden])
Date: 2010-01-12 10:06:24


Hi,

In asio, if I have a socket with pending asynchronous reads and
writes, is there a way to selectively cancel only the reads or only
the writes? All I can find is basic_stream_socket::cancel() which
closes *all* pending operations on the socket.

Thanks for any help,
Alex


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