in reply to Re: what does timeout mean in IO::Socket::INET ?
in thread what does timeout mean in IO::Socket::INET ?

Not in perl core http://perl5.git.perl.org/perl.git/blob/HEAD:/ext/IO/lib/IO/Socket.pm (version 1.3) only in http://search.cpan.org/src/GBARR/IO-1.2301/IO/Socket/INET.pm (version 1.31)
  • Comment on Re^2: what does timeout mean in IO::Socket::INET ?

Replies are listed 'Best First'.
Re^3: what does timeout mean in IO::Socket::INET ?
by zwon (Abbot) on Dec 29, 2008 at 13:16 UTC
    Yes, it used by IO::Socket. But note that it use it only in connect and accept. So if you want timeout in sysread you should set socket option or better use IO::Select.