Reputation: 89993
How can I configure COMMTIMEOUTS to wait forever for at least one byte to be read?
Upvotes: 1
Views: 588
Reputation: 89993
I solved this problem by wrapping the read in a while loop. If no bytes were read I repeated the operation.
Upvotes: 1