forked from boostorg/beast
Add CppCon2018 chat server example and video
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// Copyright (c) 2018 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Official repository: https://github.com/vinniefalco/CppCon2018
|
||||
//
|
||||
|
||||
#ifndef CPPCON2018_ASIO_HPP
|
||||
#define CPPCON2018_ASIO_HPP
|
||||
|
||||
#include <boost/asio.hpp>
|
||||
|
||||
namespace net = boost::asio; // namespace asio
|
||||
using tcp = net::ip::tcp; // from <boost/asio/ip/tcp.hpp>
|
||||
using error_code = boost::system::error_code; // from <boost/system/error_code.hpp>
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user