Re: XP Serial port control



cubscout wrote:
I am trying to use the serial port from perl, but I need O_NONBLOCK.  I
thought I had this working on Win2k, but on XP I get: "vendor has not
defined Fcntl macro O_NONBLOCK".  I've tried other various methods such
as IO::Select (which does not work), and I tried Serialport.pm which
predates XP!  Anyone have suggestions for XP?  I'm stuck!  How can I
not block with a serial port?

If you are doing anything fancy, Unix-isms don't work well in Win32. Look at I/O Completion Ports on these two pages:


http://www.sysinternals.com/Information/IoCompletionPorts.html

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndllpro/html/msdn_scalabil.asp

No, I don't know how to relate all of this information to Perl.
.