Programmers learn & share
0 votes

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)   | 47 views

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 (36.1k points)  
2,183 questions
2,484 answers
241 users