in reply to Re: Win32 Nonblocking Sockets
in thread Win32 Nonblocking Sockets
That calls IO::Handle::blocking whose code (found under ext/IO/IO.xs of the Perl source code distribution) boils down to this:
and HAS_FCNTL isn't defined under Win32 so it just always return -1 under Win32.static int io_blocking(InputStream f, int block) { int RETVAL; if(!f) { errno = EBADF; return -1; } #if defined(HAS_FCNTL) /* ... */ #else return -1; #endif }
I should try to patch that. ):
Anyway, it isn't much help right now.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Win32 Nonblocking Sockets
by ncw (Friar) on Apr 21, 2001 at 02:50 UTC |