Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
You should explicitly use =
asio::basic_deadline_timer/asio::basic_waitable_timer template classes =
(or ready definitions
like asio::deadline_timer/asio::steady_timer):
http://www.boost.org/doc/libs/1_48_0/doc/html/boost_asio/examples.html#bo=
ost_asio.examples.timeouts

Also you can investigate my echo_server project at =
http://sourceforge.net/projects/asio-samples/ - it implements
combined "activity timeout" instead of distinct timeouts for receiving =
and sending.

Regards,=20
Marat Abrarov.

Loading...