Commit graph

9 commits

Author SHA1 Message Date
Erik Ogenvik
e43fbbea7f Don't set "ipv6_only".
This seems to throw exceptions.
2017-08-13 17:16:02 +02:00
Erik Ogenvik
bc5d992953 Use separete streams for input and output.
This also changes how data is written. Since it's not allowed
to call any write op while another async write operation is underway
we need to batch up data to be written, and send it only once
any existing write op has completed.
2016-12-15 18:27:42 +01:00
Erik Ogenvik
6caffb14de Handle interleaved writes.
Since the streambuf instance will be invalidated by anything written to
it while it's being sent using an async call we need to use multiple
streambuf instances.
2014-02-06 13:38:32 +01:00
Erik Ogenvik
642faeeb28 Adapt to boost 1.46.
Since we're targetting the latest LTS release of Ubuntu as a nice
baseline, and that currently only supports 1.46, we need to remove the
nice steady_timer code. For now.

This commit should probably be reverted once a newer version of Ubuntu
LTS is available.
2014-02-04 12:25:18 +01:00
Erik Ogenvik
b77842b3a7 Remove superfluous methods. 2014-02-01 22:17:03 +01:00
Erik Ogenvik
ca91067592 Use std::chrono and steady timer. 2014-02-01 21:18:11 +01:00
Erik Ogenvik
fbf0b752c8 Removed obsolete files.
Since we're now using boost::asio for io.
2014-01-31 21:59:57 +01:00
Erik Ogenvik
f35ed7b254 Cleanup type references a bit. 2014-01-29 09:05:07 +01:00
Erik Ogenvik
1e0e8d0071 Make listener code more modular. 2014-01-28 14:44:16 +01:00
Renamed from server/CommAsioAdminClient.h (Browse further)