TCP. , (, ), , Microsoft Winsock, -, tcp.
This means that when you send something using the Winsock send () function, for example (and did not set any parameters in the socket handler), the data is first copied to the temporary socket buffer. Only when the receiving party confirmed that he received this data, Winsock will again use this memory.
So, you can flood this buffer by sending it faster than it is freed, and then an error!
source
share