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!

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.