9 #ifndef CPPSERVER_ASIO_H
10 #define CPPSERVER_ASIO_H
14 #if defined(__clang__)
15 #pragma clang system_header
16 #elif defined(__GNUC__)
17 #pragma GCC system_header
18 #elif defined(_MSC_VER)
22 #if defined(__CYGWIN__)
24 #include <boost/asio.hpp>
25 #include <boost/asio/ssl.hpp>
29 #define ASIO_STANDALONE
30 #define ASIO_SEPARATE_COMPILATION
31 #define ASIO_NO_WIN32_LEAN_AND_MEAN
35 #pragma warning(disable: 4459)
39 #include <asio/ssl.hpp>
45 #if defined(_WIN32) || defined(_WIN64)
77 template <
class TOutputStream>
Asio C++ Library inline implementation.
TOutputStream & operator<<(TOutputStream &stream, InternetProtocol protocol)
Stream output: Internet protocol.
InternetProtocol
Internet protocol.
@ IPv4
Internet Protocol version 4.
@ IPv6
Internet Protocol version 6.
C++ Server project definitions.