Think about Loose Coupling | |
PerlMonks |
Re^2: How to find out whether socket is still connected?by Anonymous Monk |
on May 29, 2009 at 23:50 UTC ( [id://766988]=note: print w/replies, xml ) | Need Help?? |
I confirm getpeername will do the trick. if the remote end has closed connection then getpeername will fail.
RS.
In Section
Seekers of Perl Wisdom
|
|