posted 20 years ago
If a process tries to write to a socket, and is surprised to find the other end of the connection is closed, that's the exception you'll get. So,for instance, if a client is connected to a server, and the server crashes or is killed, then if the client tries to send a message via that connection, you'll see the "connection reset by peer" exception.