Currently nonoverlapped ReadFile on COM ports is broken. It busy loops without timing out. This fix uses ReadFileEx and GetOverlappedResult to implement timeout in ReadFile (for COM ports only). Mike ChangeLog: * implement timed-out non-overlapped ReadFile ------------------------------------------ mailto:Mike_McCormack@start.com.au ph +82 16 430 0425 __________________________________________________________________ Get your free Australian email account at http://www.Looksmart.com.au
Attachment:
timeout_read.diff
Description: Binary data