Welcome to the Monastery | |
PerlMonks |
Re: How can I make a client realize the server connection is gone?by dl748 (Initiate) |
on Jun 02, 2001 at 02:59 UTC ( [id://85115]=note: print w/replies, xml ) | Need Help?? |
If you are using a select to tell when you can read off of the connection, then you can tell the connection is closed becuase the select will say there is something to read off of it and when you read from it you will get 0 bytes read. Then You would close the connection. I've used this method for internal intranets and the internet.
In Section
Seekers of Perl Wisdom
|
|