http://qs1969.pair.com?node_id=301012


in reply to Re: $Socket->connected Not Returning False?
in thread $Socket->connected Not Returning False?

Thank you! I've added a case to my original code that watches for !defined($read) and $! != EAGAIN(), and closes the socket locally, allowing $Socket->connected to return false. It works perfectly now.

-BronzeWing


You are in a maze of twisty little knowledge base documents, all alike.
It is dark. You are likely to be eaten by a lawyer.