Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.net.SocketException: Broken pipe  RSS feed

 
elay Raja
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


hi,

I got this exception when i try to write a byte to vnc server through socket programming.What does this exception mean & how to avoid this problem???







thanks
 
Rusty Shackleford
Ranch Hand
Posts: 490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may help. There are many other entries for this if you google it.
 
elay Raja
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

thanks for your reply.. The link which you sent is related to MYSQL. The exception which is below is what i'm facing now.At the same time this error occurs in random i.e. whenever i write some byte to the socket. I hope you will clear now.Even i stopped the firewall in client & server machines & checked but again it does n't work

java.net.SocketException: Connection reset
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)


how to avoid this problrm???

thanks
 
Rusty Shackleford
Ranch Hand
Posts: 490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Right, but the problem is still the same as the mysql problem, the server is shutting down the socket.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!