in reply to fcntl on Windows

have you looked at the can_read function of the IO::Socket class? it accepts a value in seconds to wait before timing out and proceeding with the rest of the script.
for example, this (untested) will wait 1 second and then move on.

my $sel = $sock->select; $sel->can_read(1);

Replies are listed 'Best First'.
Re: Re: fcntl on Windows
by Daimun (Novice) on Mar 21, 2001 at 05:44 UTC
    I can't seem to find any such can_read function in IO::Socket. Do you know of any documentation on it?

    Daimun