[794] in java-interest

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

I/O-Exception on SocketInputStream.read

daemon@ATHENA.MIT.EDU (Gerald Brose)
Thu Jul 20 06:16:08 1995

Date: Thu, 20 Jul 95 11:01 MET DST
From: brose@inf.fu-berlin.de (Gerald Brose)
To: java-interest@java.Eng.Sun.COM


I'm doing blocking read/write between a NetworkServer and a NetworkClient. When the
server closes (either by exiting or by explicitly calling close() ) the client gets
a 

"java.lang.IOException Connection reset by peer at net.SocketInputStream.read"

thrown at it - while reading from a file (FileInputStream) works all right. Seems
not too close to usual socket behaviour... Is that my fault or is something wrong
with the native 'recv' in SocketInputStream (or something else) ?

Thanks.

Gerald.

-
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