A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
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.
subject: how to check whether a connection is exited?
problem in connectivity through datasource to oracle database
how to maintain database using Threads
exit of an object
HTTPS Cipher Threshold
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014