2023-11-11 16:43:58 +02:00
|
|
|
/*
|
|
|
|
* NetworkDefines.h, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <boost/asio.hpp>
|
|
|
|
|
2024-01-12 01:10:41 +02:00
|
|
|
#include "NetworkInterface.h"
|
|
|
|
|
2023-11-11 16:43:58 +02:00
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
|
2024-01-12 01:10:41 +02:00
|
|
|
using NetworkContext = boost::asio::io_service;
|
2023-12-26 18:30:37 +02:00
|
|
|
using NetworkSocket = boost::asio::ip::tcp::socket;
|
|
|
|
using NetworkAcceptor = boost::asio::ip::tcp::acceptor;
|
2023-11-11 16:43:58 +02:00
|
|
|
using NetworkBuffer = boost::asio::streambuf;
|
2023-12-26 18:30:37 +02:00
|
|
|
using NetworkTimer = boost::asio::steady_timer;
|
2023-11-12 13:27:22 +02:00
|
|
|
|
2023-11-11 16:43:58 +02:00
|
|
|
VCMI_LIB_NAMESPACE_END
|