Recent

Author Topic: loss of data in transit when using sockets.  (Read 176 times)

CanineQwer

  • New Member
  • *
  • Posts: 19
loss of data in transit when using sockets.
« on: October 24, 2020, 03:15:25 am »
When using a server on Linux and an asynchronous client on Windows, part of the data is lost.
If you transfer the server to Windows or use a synchronous client, then there is no loss.
Link to the repository with test projects:
https://github.com/CanineQwer/socketstest
How to reproduce the bug:
On Linux Start "Serv" and click on the start button.
On Windows, run "CliAsyn" and click on the start button.
You will see that each time the size of the received file changes.
*If you run "Cli" on Windows, there will be no losses.
It is not clear where and why losses occur, but the server never sees them.

What could be the reason?
*Accordingly, the problem can be reproduced only with a virtual machine or 2 pc.

 

TinyPortal © 2005-2018