[796] in java-interest

home help back first fref pref prev next nref lref last post

Re: I/O-Exception on SocketInputStream.read

daemon@ATHENA.MIT.EDU (Peter Parnes)
Thu Jul 20 06:35:12 1995

To: brose@inf.fu-berlin.de (Gerald Brose)
Cc: java-interest@java.Eng.Sun.COM
In-Reply-To: Your message of "Thu, 20 Jul 1995 11:01:00 +0700."
             <m0sYrTY-00005eC@inf.fu-berlin.de> 
Date: Thu, 20 Jul 1995 11:17:59 +0200
From: Peter Parnes <peppar@cdt.luth.se>

brose@inf.fu-berlin.de said:
> "java.lang.IOException Connection reset by peer at net.SocketInputStream.read" 

This is because a UNIX signal SIGPIPE is being sent to the client when the 
other side closes the connection. Just catch the exception and work on.

/P


-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post