in reply to Re: Complete mess with IO::Socket in ActivePerl 5.8.8.817
in thread Complete mess with IO::Socket in ActivePerl 5.8.8.817

UDP sockets don't block.
It actually seems that they don't nonblock in Win32, don't they? :) Thank you for the time and effort traveler.

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.

Replies are listed 'Best First'.
Re^3: Complete mess with IO::Socket in ActivePerl 5.8.8.817
by traveler (Parson) on Jul 06, 2006 at 14:14 UTC
    You are right. The default behavior in Windows is to block. However, it appears that this is not really a block for 16-bit apps as the message loop stays running, so the code can be re-entered somewhere else. However 32-bit apps hang the UI... Pretty interesting.