Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2832: Asio sync IO functions need timeout parameters
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-06-15 09:09:42
#2832: Asio sync IO functions need timeout parameters
------------------------------------------------+--------------------------
Reporter: Stephan Menzel <stephan.menzel@â¦> | Owner:
| chris_kohlhoff
Type: Bugs | Status: closed
Milestone: Boost 1.39.0 | Component: asio
Version: Boost 1.38.0 | Severity: Showstopper
Resolution: wontfix | Keywords:
------------------------------------------------+--------------------------
Comment (by gast128@â¦):
This is really pity. Reading synchronously with a timeout is a common use
case (e.g. serial port does not respond; website down. You don't want to
block your application indefinitely) and not very well supported by
Boost.Asio. I managed to get something working with deadline timers and
canceling the other but it was awful. Using the Win32 API with the serial
communications protocol directly which supports timeout is much more
easier.
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/2832#comment:29> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-06-15 09:13:44 UTC