in reply to IO::Socket client does not detect when server network connection dies

See Knowing when a socket connection is dead

and $Socket->connected Not Returning False?

but you should be able to use the connected method of IO::Socket.

See also blocking, non-blocking, and semi-blocking if you still are having problems.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: IO::Socket client does not detect when server network connection dies

Replies are listed 'Best First'.
Re^2: IO::Socket client does not detect when server network connection dies
by ikegami (Patriarch) on Jul 11, 2011 at 19:37 UTC

    but you should be able to use the connected method of IO::Socket.

    No. See your second link.