0

Hello,

I have a Client/Server program. The Server is BlackJackServer.java. I am having the following exception when I run the program. Can anyone explain me what the error below is saying?

java.net.SocketException: Software caused connection abort: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
	at java.io.DataOutputStream.write(DataOutputStream.java:90)
	at java.io.DataOutputStream.writeUTF(DataOutputStream.java:384)
	at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
	at BlackJackServer.kttupdate(BlackJackServer.java:165)
	at BlackJackServer.draw(BlackJackServer.java:302)
	at BlackJackServer.<init>(BlackJackServer.java:134)
	at BlackJackServer.main(BlackJackServer.java:209)

Thank you!

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by Ezzaral
0

Whatever you tried to write on line 165 in kttUpdate() upset your socket. Start looking there to determine what might have made it angry.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.