Just a thought.. Description of recv() tells you that
Quote:
|
If no messages are available at the socket, the receive calls wait for a message to arrive, unless the socket is nonblocking.
|
Could this be the case, it recieved the End Of Transmission message, but for some reason your recieve loop on the client runs one more time, and here it hangs in the recv() since theres no messages in the socket.
But since you didn't provide any code, it is hard to make any assumption on what is happening.