Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: IO::Socket::INET -- Jettero verses non-blocking in windows

by Anonymous Monk
on Aug 02, 2004 at 08:52 UTC ( [id://379223]=note: print w/replies, xml ) Need Help??


in reply to IO::Socket::INET -- jettero verses non-blocking in windows

Hello, I've worked around this using:
my $true=1; ioctl($ioioio, 0x8004667e, \$true);
And then reading data with
sysread()
rather than <>. I haven't messed around with select() because this seems to work, although your mileage may vary.(Also, for the record, the IO::Handle::blocking() method suggested in #292856 fails but returns an empty $!.) Hope this helps, -jc

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://379223]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-25 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found