Boost logo

Boost :

From: Stefano Mora (stefano.mora_at_[hidden])
Date: 2024-06-13 10:18:37


Hello,
hope to have found a solution.

The problem seems to be caused to a "random" readCompleted() callback function recalled with error=0 and byteTransferred=0 - while Wireshark shows me that the packet was received!
At the beginning I only exit from the function but the TimeoutExpired arrived.
I corrected the procedure adding the rearm of the async read in case of error==0 and bytes==0. Now I'm able to recover the packet and go on!

I don't know why the callback function is called with bytes=0, but that's the way ..

Thanks!


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk