客户端socket向服务端发送文件,
发完后调用outputstream的close(),
报错:
解决:
http://taolei0628.iteye.com/blog/1326105
close() //会把客户端socket也关闭
socket.shutdownOutput();//客户端socket使用shutdownOutput() 代替 close()
发完后调用outputstream的close(),
报错:
java.net.SocketException: Software caused connection abort: socket write error
解决:
http://taolei0628.iteye.com/blog/1326105
close() //会把客户端socket也关闭
socket.shutdownOutput();//客户端socket使用shutdownOutput() 代替 close()