Subject: | Listen option Doesn't work in Win32, QUEUE does?? |
The listen option dies as illustrated below.
my $listensock = IO::Socket::INET->new (
LocalHost => "localhost",
LocalPort => "1434",
Proto => "udp",
Type => SOCK_DGRAM,
Listen => 1,
ReuseAddr => 1,
) or die " There's a problem with this server $! \n";
The error returned is "Unknown error" . Replacing "listen" with "QUEUE"
does not error out. Are they the same thing?
The error is reproducable on strawberry perl. www.strawberryperl.com
perl -v returns "This is perl, v5.10.0 built for MSWin32-x86-multi-thread"