Abroxa has asked for the wisdom of the Perl Monks concerning the following question:
On my Debian 3.0 / Perl 5.6.1 machine this works fine ( I didn't think about performance up to now. )$client->close() unless (defined($client->peerhost())); # I am working with IO::Socket::INET Objects.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Detecting disconnection from client using IO::Socket Objects.
by edan (Curate) on Sep 17, 2003 at 16:24 UTC | |
by Abroxa (Initiate) on Sep 17, 2003 at 17:08 UTC | |
|
Re: Detecting disconnection from client using IO::Socket Objects.
by sgifford (Prior) on Sep 17, 2003 at 16:06 UTC |