A reset packet is simply one with no payload and with the RST bit set in the TCP header flags. TCP RST packet is that the remote side telling you the connection on which the previous TCP packet is sent is not recognized, maybe the connection has closed, maybe the port is not open, and something like these. For example, by quitting the browser before the reponse was retrieved.Ĭonnection reset simply means that a TCP RST was received. This SocketException occurs on the server side when the client closed the socket connection before the response could be returned over the socket.