Skip to site navigation (Press enter)
How to close ServerSocket
Ashish
Sat, 13 May 2000 13:54:36 -0700
how to close server socket without throwing an exception?
if i call close then it throws exception which gets caught in catch 1 not in catch 2
can anybody explain
ServerSocket ss = new ServerSocket(iPort);
try
{
ss.accept();
}
catch(Exception e)
/* 1 */
{
///
}
try
{
ss.close();
}
catch(Exception e)
/* 1 */
{
///
}
Ashish
Previous message
View by thread
View by date
Next message
How to close ServerSocket
Ashish
Re: How to close ServerSocket
Ashish
Re: How to close ServerSocket
Albert Y. C. Lai
Re: How to close ServerSocket
Ashish
Re: How to close ServerSocket
Chris Abbey
Reply via email to
Search the site
The Mail Archive home
java-linux - all messages
java-linux - about the list
Expand
Previous message
Next message