Re: XP Serial port control
- From: Samwyse <samwyse@xxxxxxxxx>
- Date: Sat, 31 Dec 2005 06:43:23 GMT
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. .
- Follow-Ups:
- Re: XP Serial port control
- From: Sisyphus
- Re: XP Serial port control
- References:
- XP Serial port control
- From: cubscout
- XP Serial port control
- Prev by Date: FAQ 6.6 How can I make "\w" match national character sets?
- Next by Date: BOOK
- Previous by thread: XP Serial port control
- Next by thread: Re: XP Serial port control
- Index(es):