Task: Implement Clean TCP Disconnect with Boost.Asio
Task: Implement Clean TCP Disconnect with Boost.Asio: a task in Terminal-Lego-15k (Harbor dataset). When a TCP client sends a shutdown message and immediately closes the socket, the server may not have time to read the message before the connection is forcibly reset. This is a classic race…
The task
When a TCP client sends a shutdown message and immediately closes the socket, the server may not have time to read the message before the connection is forcibly reset. This is a classic race condition in network programming.
Part of PrimeIntellect/Terminal-Lego-15k.