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>--
|
|---|
| 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 |