in reply to Re (tilly) 5: Forking Issue
in thread Forking Issue

Apparently, the timeout method exists in Win32. It is set to undef by default. Here's the sample code I used:

my $sock = new IO::Socket; print $sock->timeout() || "undef"; # prints "undef" $sock->timeout(10); print $sock->timeout() || "undef"; # prints "10"

Tested on Activestate 5.6.0 multi-threaded

<kbd>--
my $OeufMayo = new PerlMonger::Paris({http => 'paris.mongueurs.net'});</kbd>

Replies are listed 'Best First'.
Re (tilly) 1: IO::Socket timeout method on Win32
by tilly (Archbishop) on Mar 18, 2001 at 20:04 UTC
    Exists is not the same as working. I phrased my original statement as a question because while I knew the method would be there, I didn't know if it would work.

    Check out Re (tilly) 1: Timeout problem using IO::Socket for more on this.