A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Sockets and Internet Protocols
how to check whether a connection is exited?
Joined: Jan 26, 2013
Feb 23, 2013 02:13:49
how to check whether a connection is exited? (socket)
Author and all-around good cowpoke
Joined: Mar 22, 2000
Feb 23, 2013 07:13:24
Assuming you mean when the other side of your connection has closed the socket.
For one thing, you will get an
when you try to write to it or read from it.
In general, see the
JavaDocs for methods to check state of a socket.
I agree. Here's the link:
subject: how to check whether a connection is exited?
exit of an object
problem in connectivity through datasource to oracle database
HTTPS Cipher Threshold
how to maintain database using Threads
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014