Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to check if a socket is still alive and not closed by the server?

843790Nov 27 2006 — edited Nov 28 2006
If I create a socket connection in Java, then is there any way to test whether that socket conecction is alive at any point of time. You may assume that the socket connection is never closed from my side ie. the client's end, however it may be closed by the server at any time.

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 26 2006
Added on Nov 27 2006
5 comments
3,811 views