Boost logo

Boost Users :

Subject: Re: [Boost-users] Synchronous read from a serial port with timeout?
From: Igor R (boost.lists_at_[hidden])
Date: 2010-07-22 11:19:58

> Is there a way to use synchronous read function with a timeout mechanism? I want my code to block on read function till data/error comes from the serial port or timeout expires. How can I do this with asio?

Try this way:

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at