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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.