http://www.perlmonks.org?node_id=998673


in reply to Re^3: UDP Client Multiple servers
in thread UDP Client Multiple servers

Does the Timeout parameter to IO::Socket::INET->new() have the same effect as the sockopt() method?

Maybe another WTDI.

Replies are listed 'Best First'.
Re^5: UDP Client Multiple servers
by zwon (Abbot) on Oct 12, 2012 at 14:26 UTC

    Not really, despite documentation for IO::Socket::INET says "Timeout value for various operations", Timeout parameter is only used by connect method of IO::Socket, it doesn't affect recv in any way.

      Huh! Good to know. Thank you zwon++