aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes java.net.SocketException: Broken pipe Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "java.net.SocketException: Broken pipe" Watch "java.net.SocketException: Broken pipe" New topic
Author

java.net.SocketException: Broken pipe

elay Raja
Greenhorn

Joined: Jun 10, 2008
Posts: 27


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

Joined: Jan 03, 2006
Posts: 490
This may help. There are many other entries for this if you google it.


"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra
elay Raja
Greenhorn

Joined: Jun 10, 2008
Posts: 27

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

Joined: Jan 03, 2006
Posts: 490
Right, but the problem is still the same as the mysql problem, the server is shutting down the socket.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: java.net.SocketException: Broken pipe
 
Similar Threads
Server Exception
Struts application design question
WA #1.....word association
void return type in JSP expression
what is error?