Maybe the sender has not flushed the last packet, or the receiver got multiple packets. also unless you use TcpClient, the packets may arrive out of order.
about SocketAsyncEventArgs BytesTransferred
edward
1
Reputation point
when the receive completed.the SocketAsyncEventArgs.BytesTransferred bytes not equals to the send bytes. How its happens 。