in reply to how to set socket recv timeout in architecture independent manner?

my $sock = IO::Socket::INET->new(...., Timeout => 10);
  • Comment on Re: how to set socket recv timeout in architecture independent manner?
  • Download Code

Replies are listed 'Best First'.
Re^2: how to set socket recv timeout in architecture independent manner?
by saurabh.hirani (Beadle) on May 05, 2009 at 14:09 UTC
    Even I thought of using 'Timeout' at first. But little did I know that Timeout in IO::Socket::INET is used during connect() and accept() calls and I need to set timeout for recv() system call. Timeout won't help me.