Link to home
Start Free TrialLog in
Avatar of booker74
booker74

asked on

WaitCommEvent timeout

When I use the WaitCommEvent() API on non-overlapped serial operations, I get an infinite wait state whenever the event I am concerned with doesn't occur.

I am thinking if I could implement a timeout using WaitCommEvent() so that even if the event I am waiting for doesn't occur, my program will not hang and report a timeout instead.

How do I do this?  
ASKER CERTIFIED SOLUTION
Avatar of davmarc
davmarc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial