13 Jun
2024
13 Jun
'24
10:18 a.m.
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!