Skip Menu |

This queue is for tickets about the Net-OSCAR CPAN distribution.

Report information
The Basics
Id: 37562
Status: new
Priority: 0/
Queue: Net-OSCAR

People
Owner: Nobody in particular
Requestors: Alexandre.Gorobets [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: Crashed on Win32
On Win32 platform my perl-5.10 crashed on calling $connection- Show quoted text
>set_blocking( 0 );
I make this fix: \lib\Net\OSCAR\Connection.pm:366 ioctl($self->{socket}, 0x80000000 | (4 << 16) | (ord('f') << 8) | 126, $blocking ) or warn "Couldn't set Win32 blocking: $!\n"; must be changed to ioctl($self->{socket}, 0x80000000 | (4 << 16) | (ord('f') << 8) | 126, pack( "L!", $blocking ) ) or warn "Couldn't set Win32 blocking: $!\n";