TCP socket sending garbage
Opened this issue · 0 comments
Overbored commented
After sending about 1400 bytes the socket starts to send old data by itself. Reading the code I can see a circular transmit buffer of that size. Probably some bug when buffer wraps around.
In TcpSockets.cs:
UInt32 _transmitBufferSize = 1461; /* the actual size of our internal transmit buffer /
/ NOTES on receive buffer:
* 1. the buffer wraps around; data does not necessarily start at position 0.