$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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://listarchives.boost.org/Archives/boost/2007/04/120339.php