Christopher Kohlhoff
d23cb643d9
Fix cross-compilation support.
2018-04-01 21:45:55 +10:00
Christopher Kohlhoff
69d54db71f
Update examples to use chrono rather than Boost.Date_Time.
...
N.B. The Windows-specific tick_count_timer example has been removed as
it has been superseded by timers based on the standard steady_clock.
It's also not clear how to map a wrapping time source to the standard
chrono concepts.
2018-04-01 15:28:38 +10:00
Christopher Kohlhoff
5672713c90
Change socket iostreams to use chrono by default.
...
Define BOOST_ASIO_USE_BOOST_DATE_TIME_FOR_SOCKET_IOSTREAM to enable the
old Boost.Date_Time interface in basic_socket_streambuf and
basic_socket_iostream.
2018-04-01 15:28:37 +10:00
Christopher Kohlhoff
5a9af00480
Update timeout examples to use latest features.
...
* Use asio::steady_timer rather than asio::deadline_timer.
* Use asio::dynamic_buffer rather than asio::streambuf.
* Use timed asio::io_context::run_for() function for blocking clients.
* Add example showing a custom completion token for blocking with timeouts.
2018-04-01 08:42:42 +10:00
Christopher Kohlhoff
886839cf55
Update copyright notices.
2018-03-04 21:59:30 +11:00
Christopher Kohlhoff
80944b1065
Update tutorial text to use 'io_context'.
2018-03-04 21:57:26 +11:00
Christopher Kohlhoff
a57cb2a7a6
Suppress recv truncation errors on Windows, to match POSIX behaviour.
2017-12-02 18:25:44 +11:00
Christopher Kohlhoff
094354f343
Remove old Jamfiles.
2017-12-02 09:51:28 +11:00
Christopher Kohlhoff
87c879b50b
Use new post() in serialization example.
2017-12-02 09:03:15 +11:00
Christopher Kohlhoff
030647a0a7
Update invocation examples to use executors.
2017-12-02 09:03:15 +11:00
Christopher Kohlhoff
d83e96a444
Update allocation overview and examples to use new form.
2017-12-02 09:03:15 +11:00
Christopher Kohlhoff
246e555e0a
Fix copy/paste error in comment.
2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
b60e92b13e
Initial merge of Networking TS compatibility.
...
Merged from chriskohlhoff/asio master branch as of commit
4a4d28b0d24c53236e229bd1b5f378c9964b1ebb.
2017-10-23 21:48:43 +11:00
Christopher Kohlhoff
f7fa336c91
Update copyright notices.
2017-03-05 22:43:47 +11:00
Christopher Kohlhoff
36eef63a9c
Update copyright notices.
2016-09-11 11:35:40 +10:00
Christopher Kohlhoff
e249488285
Regenerate certificates for SSL example.
2015-12-10 22:51:53 +11:00
Jessica Hamilton
df50982934
Haiku: link to libnetwork
2015-12-10 22:45:24 +11:00
Christopher Kohlhoff
41bf42b8da
Update copyright notices.
2015-03-20 00:14:19 +11:00
Christopher Kohlhoff
878b787fce
Use std::endl in tutorial to ensure output is flushed.
2015-03-19 23:49:25 +11:00
Christopher Kohlhoff
d109f120fa
Explicitly mark asio::strand as deprecated.
...
Use asio::io_service::strand instead.
2014-10-17 22:49:14 +11:00
Christopher Kohlhoff
9fb6520f08
Remove unused data member.
2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
20544b9bca
Fix sprintf format warning in example.
2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
28f690f504
Update copyright notices.
2014-05-03 09:25:39 +10:00
Christopher Kohlhoff
0e90106a30
Make develop identical to master.
2014-05-03 08:57:44 +10:00
Christopher Kohlhoff
280a7d55b3
Remove the stackless coroutine class and macros from the HTTP server 4
...
example, and instead make them a part of Asio's documented interface.
[SVN r84346]
2013-05-18 11:54:59 +00:00
Christopher Kohlhoff
95d16d75b7
Update copyright notices.
...
[SVN r84345]
2013-05-18 11:24:59 +00:00
Christopher Kohlhoff
9644fab951
Partially decouple Asio from other boost components via an extra level
...
of indirection.
[SVN r84315]
2013-05-17 10:06:50 +00:00
Christopher Kohlhoff
4f1d36c7a1
Move existing examples into a C++03-specific directory, and add a new
...
directory for C++11-specific examples. A limited subset of the C++03
examples have been converted to their C++11 equivalents.
[SVN r84312]
2013-05-17 02:25:10 +00:00