NetworkDefines.h 571 B

12345678910111213141516171819202122
  1. /*
  2. * NetworkDefines.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include <boost/asio.hpp>
  12. VCMI_LIB_NAMESPACE_BEGIN
  13. using NetworkService = boost::asio::io_service;
  14. using NetworkSocket = boost::asio::ip::tcp::socket;
  15. using NetworkAcceptor = boost::asio::ip::tcp::acceptor;
  16. using NetworkBuffer = boost::asio::streambuf;
  17. using NetworkTimer = boost::asio::steady_timer;
  18. VCMI_LIB_NAMESPACE_END