18 Apr
2012
18 Apr
'12
3:25 p.m.
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).