|
Boost Users : |
Subject: Re: [Boost-users] Timeout on read/write using Boost.Asio
From: Igor R (boost.lists_at_[hidden])
Date: 2012-04-18 11:25:00
> My question is:
> the "cancel" call acutely cancel all the pending async operation, but only one of them is timeout.
> For example, there is a pending async read and a pending async write operation, only read is timeout, I do not want cancel write any way.
Yes, you're right. You'll have to issue both async read and write again.
But usually "timeout" means that something goes wrong with the
connection (i.e. you expected something, but it failed to happen).
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