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:
http://lists.boost.org/Archives/boost/2007/04/120339.php


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net