Le 6 mars 2012 07:40, "Leo HE" <[email protected]> a écrit :
>
> My server can get most data whereas sometimes just throw folloing
exceptions:
>
> java.io.IOException: Connection reset by peer

as the message says, the remote peer has disconnected. The exception is the
only way the underlying system can inform you that thus happened. It's up
to your handler to process this information.

>        at sun.nio.ch.FileDispatcher.read0(Native Method)
>        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
>        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:202)
>        at sun.nio.ch.IOUtil.read(IOUtil.java:175)
>        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
>
>

Reply via email to