Re: listening serial port
- From: "Floyd Burger" <floyd@xxxxxxxxxxxx>
- Date: Sat, 2 Apr 2005 17:18:22 -0700
Use the WaitCommEvent API from a separate thread. WaitCommEvent will return
when one of the events defined in SetCommMask is triggered.
--
Floyd
"Mark Albourgh" <malbourgh1@xxxxxxxxx> wrote in message
news:d2n81b$jr9$1@xxxxxxxxxxxxxxxxx
> Does anyone know a way of listening to serial port?
> I know how to read data from it, but only know
> to check the port for the data constantly which occupies cpu a lot.
> I need this to receive data from a machine.
>
> Thx
>
>
.
- References:
- listening serial port
- From: Mark Albourgh
- listening serial port
- Prev by Date: Re: get the actual size of a file
- Next by Date: Re: API documents
- Previous by thread: listening serial port
- Next by thread: Timing of functions in C#
- Index(es):