Socket problem ...
1 posts in topic
Flat View  Flat View

Posted By:   giorgi_arabidze
Posted On:   Wednesday, May 19, 2004 07:36 AM

In case if client and server are connected via sockets, and if client terminates or closes the socket without any notification to server. Is there any chance for server to find out that the client do not
responds any more ?

Java methods for this ... ? ( I do not wont to use timeout).


Re: Socket problem ...

Posted By:   Sean_Owen  
Posted On:   Wednesday, May 19, 2004 09:02 AM

Yes -- the next attempt to read/write from/to that socket's streams will result in an IOException of some kind. That's how you know.
About | Sitemap | Contact