jettero has asked for the wisdom of the Perl Monks concerning the following question:

My question is almost identical to the question asked in node #292856 -- but still slightly different. I wish to build a non-blocking socket. Apparently you can't in ActivePerl 5.8.3?

I refuse to accept that. I have tried these two methods (which both work great at home in my lunix):

$ioioio = new IO::Socket::INET( Proto => "udp", LocalPort => $port, Blocking => 0, ) or die "socket is dumb: $!"

That returns the unhelpful error "socket is dumb: at line something something."

I seem to get an error from this at least -- assuming I skip the "Blocking => 0" above.

fcntl($ioioio, F_SETFL, O_NONBLOCK);

It reports that my vendor has not defined F_SETFL.

(Sorry in advance, I searched a lot and didn't find much, but I can't imagine this hasn't been asked before.)