• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes
4 views

Problem :

I am struggling to find the solution for the bellow error
java net socketexception software caused connection abort recv failed
by (6.9k points)  

1 Answer

0 votes

Solution :

This will happen if a connection times out or when a remote host terminates their connection. 
One can avoid this by managing sockets oneself and handling disconnections in ones application by its communications protocol. 
Call shutdownInput and shutdownOutput to clear up the session.

Further Readings:

by (20.3k points)  
...