Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::asio:read and timeout
From: Arash Partow (arash_at_[hidden])
Date: 2011-05-10 14:08:13


Carla Strembicke wrote:
> Hi,
> This has probably been asked before. Is there a way to apply a timeout on the synchronous read for a socket in boost.
> I have no option but to do a synchronous read.
>

http://think-async.com/Asio/boost_asio_1_5_3/doc/html/boost_asio/example/timeouts/blocking_tcp_client.cpp


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