On Mon, Oct 13, 2008 at 10:30 AM, Salvador Fandino Garcia via RT <
bug-Win32-Socketpair@rt.cpan.org> wrote:
Show quoted text
- ioctl($client, 0x8004667e, 1);
+ my $true = 1;
+ ioctl($client, 0x8004667e, \$true);
- ioctl($client, 0x8004667e, 0);
+ my $false = 0;
+ ioctl($client, 0x8004667e, \$false);
gives
Show quoted text>perl -MWin32::Socketpair=winsocketpair -we"winsocketpair() or die $!"
winsocketpair failed: Bad file descriptor, retrying at -e line 1
winsocketpair failed: Bad file descriptor, retrying at -e line 1
winsocketpair failed: Bad file descriptor, retrying at -e line 1
winsocketpair failed: Bad file descriptor, retrying at -e line 1
Bad file descriptor at -e line 1.
$!==9/"Bad file descriptor" is being returned by connect($client, $addr) .
- Eric "ikegami" Brine