You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
at java.net.SocketOutputStream.write(SocketOutputStream.java:134)
at java.io.DataOutputStream.writeInt(DataOutputStream.java:199)
at jocket.net.ServerJocket.accept(ServerJocket.java:76)
The text was updated successfully, but these errors were encountered:
JocketSocket: Socket s = new Socket(InetAddress.getByName(null), port);
I admit I don't precisely remember why it is initialized this way... After checking this is supposed to return a loopback address. You can try adding constructors that accept an IP address (such as 127.0.0.1 or 0.0.0.0) and call them from TestClient/Server.
Software caused connection abort: socket write error
The text was updated successfully, but these errors were encountered: