Re: XP Serial port control
- From: "Sisyphus" <sisyphus1@xxxxxxxxxxxxxxxxx>
- Date: Sat, 31 Dec 2005 21:33:49 +1100
"Samwyse" <samwyse@xxxxxxxxx> wrote in message
news:fMptf.60029$tV6.10747@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> cubscout wrote:
> > I am trying to use the serial port from perl, but I need O_NONBLOCK.
..
..
>
> 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.
One could access that functionality from perl using either Inline::C or
Win32::API.
My impression from the op's first post is that there was no problem with
Windows2000. So I was going to suggest that the op try and dig up that
code - because I feel that if it worked on 2k, then it should work on XP
with little or no modification. I could, of course, be wrong about that -
however I find that O_NONBLOCK is also *not* a defined macro on my
Windows2000 box. (Or - perhaps it *is* defined under Cygwin ... if the op
wants to go down that path.)
Cheers,
Rob
.
- References:
- XP Serial port control
- From: cubscout
- Re: XP Serial port control
- From: Samwyse
- XP Serial port control
- Prev by Date: Re: BOOK
- Next by Date: FAQ 3.27 Where can I learn about object-oriented Perl programming?
- Previous by thread: Re: XP Serial port control
- Next by thread: FAQ 6.6 How can I make "\w" match national character sets?
- Index(es):
Relevant Pages
|