TrinityCore
Loading...
Searching...
No Matches
Socket.h File Reference
#include "Concepts.h"
#include "IpAddress.h"
#include "Log.h"
#include "MessageBuffer.h"
#include "SocketConnectionInitializer.h"
#include <boost/asio/compose.hpp>
#include <boost/asio/io_context.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <atomic>
#include <memory>
#include <queue>
#include <type_traits>
+ Include dependency graph for Socket.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Trinity::Net::InvokeReadHandlerCallback< SocketType >
 
struct  Trinity::Net::ReadConnectionInitializer< AsyncReadObjectType, ReadHandlerObjectType >
 
class  Trinity::Net::Socket< Stream >
 
struct  Trinity::Net::Socket< Stream >::Endpoint
 
struct  Trinity::Net::Impl::Operations::ConnectState
 
struct  Trinity::Net::Impl::Operations::Connect< Socket >
 

Namespaces

namespace  Trinity
 
namespace  Trinity::Net
 
namespace  Trinity::Net::Impl
 
namespace  Trinity::Net::Impl::Operations
 

Typedefs

using Trinity::Net::IoContextTcpSocket = boost::asio::basic_stream_socket< boost::asio::ip::tcp, boost::asio::io_context::executor_type >
 

Enumerations

enum class  Trinity::Net::SocketReadCallbackResult { Trinity::Net::KeepReading , Trinity::Net::Stop }
 

Functions

boost::asio::mutable_buffer Trinity::Net::PrepareReadBuffer (MessageBuffer &readBuffer)