25 lines
645 B
C++
25 lines
645 B
C++
#pragma once
|
|
|
|
#include "TOSLib.hpp"
|
|
#include "boost/asio/async_result.hpp"
|
|
#include "boost/asio/deadline_timer.hpp"
|
|
#include "boost/date_time/posix_time/posix_time_duration.hpp"
|
|
#include <atomic>
|
|
#include <boost/asio.hpp>
|
|
#include <boost/asio/impl/execution_context.hpp>
|
|
#include <boost/date_time/posix_time/ptime.hpp>
|
|
#include <boost/thread.hpp>
|
|
#include <boost/asio/experimental/awaitable_operators.hpp>
|
|
#include <boost/lockfree/queue.hpp>
|
|
|
|
|
|
namespace LV {
|
|
|
|
using namespace boost::asio::experimental::awaitable_operators;
|
|
|
|
namespace asio = boost::asio;
|
|
using tcp = asio::ip::tcp;
|
|
template<typename T = void>
|
|
using coro = asio::awaitable<T>;
|
|
|
|
} |