in reply to Re: Socket timeouts without ALARM
in thread Socket timeouts without ALARM

IO::Socket's timeouts mostly require alarm and so are just silently ignored under Win32.

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: Socket timeouts without ALARM
by kschwab (Vicar) on Nov 12, 2001 at 03:30 UTC
    Perhaps this was true at some point, but at least for ActiveState's perl, IO::Socket uses non-blocking mode in conjuction with IO::Select to implement the timeouts.

    Update: Well, this is true, the code is there, it uses non-blocking mode instead of alarm(), but it appears to be broken in Win32. <sigh>