in reply to ioctl for non-blocking and blocking in Windows
ioctl($socket, 0x8004667e, $nonblocking); $nonblocking = 1 => makes the socket non blocking,So he's not using a scalar reference...
$nonblocking = 0 => makes the socket blocking.
I also found use of the magic number in a CPAN module, Win32::Socketpair, again, by salva. Again, not using a reference.
p.s. in my internet search I stumbled across a rather interesting recent blog post.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ioctl for non-blocking and blocking in Windows
by Anonymous Monk on Apr 16, 2007 at 17:36 UTC |