W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2004

SoketException - broken pipe

From: Uday Krishnan <odin147@yahoo.com>
Date: Thu, 11 Mar 2004 12:30:26 -0500 (EST)
Message-ID: <20040311172954.84001.qmail@web11105.mail.yahoo.com>
To: www-jigsaw@w3.org
hi,
 
 
   Iam trying to write a client server exception, although the server receives the request from the client , when it tries to write the response to the client using the following construct 
 
  try {  
                    
                h.out.writeBytes(fieldsStr); // String fieldsStr
              
             } catch (IOException ioe) {
             
                  System.err.print(  "Socket error in writeBytes: " +  ioe.getMessage() );
             
             }
the writeBytes() function is throwing an SocketException - broken pipe
 
java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
        at java.io.DataOutputStream.writeBytes(DataOutputStream.java:256)
        at BnkServer.run(BnkServer.java:109)
 
 can anyone tell me what the hell is going on???
 

 
 




---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
Received on Thursday, 11 March 2004 12:33:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:37 GMT