in reply to Non-blocking network IO in Perl?

See IO::Socket::INET -- Jettero verses non-blocking in windows for extensive discussion and OS dependent options.

cheers

tachyon

Replies are listed 'Best First'.
Re^2: Non-blocking network IO in Perl?
by William G. Davis (Friar) on Aug 19, 2004 at 10:02 UTC

    Ah, I knew it wouldn't be that simple to just use IO::Socket. I'll copy and adapt that code. Thanks tachyon.

      It *is* simple, unless you are on Win32 which of course is known to make the simple things hard and the hard things harder AOTBE. You may find that threading is a better option if you are on Win32.

      cheers

      tachyon

        Nah, threading isn't really an option. My whole interface is event driven and I'm trying to support old (5.005+) versions of Perl.