How to check if a server has disconnected a socket
From: Jarle Jacobsen (jarlejSP_at_MREMOVE@writeme.com)
Date: 08/31/04
- Next message: John C. Bollinger: "Re: Thread synchronization problem"
- Previous message: Amey Samant: "jboss shutdown in cluster"
- Next in thread: Gordon Beaton: "Re: How to check if a server has disconnected a socket"
- Reply: Gordon Beaton: "Re: How to check if a server has disconnected a socket"
- Reply: MERIGON Olivier: "Re: How to check if a server has disconnected a socket"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 31 Aug 2004 16:28:11 +0200
Hi.
Can anybody help me with the following?
I'm using java.net.Socket to connect to a server. The socket is part of a
client application, and I connect to the server at startup. The application
should be able to handle a lost connection due to a restart of the server or
any other reason. Is it a way to check if the socket connection is still
connected or if the connection has been reset?
Jarle
- Next message: John C. Bollinger: "Re: Thread synchronization problem"
- Previous message: Amey Samant: "jboss shutdown in cluster"
- Next in thread: Gordon Beaton: "Re: How to check if a server has disconnected a socket"
- Reply: Gordon Beaton: "Re: How to check if a server has disconnected a socket"
- Reply: MERIGON Olivier: "Re: How to check if a server has disconnected a socket"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|