SoketException - broken pipe

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 UTC