in reply to
How to find out whether socket is still connected?
A write of zero bytes will do the trick, I believe.
Comment on
Re: How to find out whether socket is still connected?
In Section
Seekers of Perl Wisdom