AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Socket.h File Reference
#include "Log.h"
#include "MessageBuffer.h"
#include <atomic>
#include <boost/asio.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <functional>
#include <memory>
#include <queue>
#include <type_traits>

Go to the source code of this file.

Classes

class  Socket< T >
 

Macros

#define READ_BLOCK_SIZE   4096
 

Enumerations

enum  ProxyHeaderReadingState {
  PROXY_HEADER_READING_STATE_NOT_STARTED ,
  PROXY_HEADER_READING_STATE_STARTED ,
  PROXY_HEADER_READING_STATE_FINISHED ,
  PROXY_HEADER_READING_STATE_FAILED
}
 
enum  ProxyHeaderAddressFamilyAndProtocol {
  PROXY_HEADER_ADDRESS_FAMILY_AND_PROTOCOL_TCP_V4 = 0x11 ,
  PROXY_HEADER_ADDRESS_FAMILY_AND_PROTOCOL_TCP_V6 = 0x21
}
 

Macro Definition Documentation

◆ READ_BLOCK_SIZE

#define READ_BLOCK_SIZE   4096

Enumeration Type Documentation

◆ ProxyHeaderAddressFamilyAndProtocol

Enumerator
PROXY_HEADER_ADDRESS_FAMILY_AND_PROTOCOL_TCP_V4 
PROXY_HEADER_ADDRESS_FAMILY_AND_PROTOCOL_TCP_V6 
45 {
48};
@ PROXY_HEADER_ADDRESS_FAMILY_AND_PROTOCOL_TCP_V6
Definition: Socket.h:47
@ PROXY_HEADER_ADDRESS_FAMILY_AND_PROTOCOL_TCP_V4
Definition: Socket.h:46

◆ ProxyHeaderReadingState

Enumerator
PROXY_HEADER_READING_STATE_NOT_STARTED 
PROXY_HEADER_READING_STATE_STARTED 
PROXY_HEADER_READING_STATE_FINISHED 
PROXY_HEADER_READING_STATE_FAILED 
38 {
43};
@ PROXY_HEADER_READING_STATE_NOT_STARTED
Definition: Socket.h:39
@ PROXY_HEADER_READING_STATE_FINISHED
Definition: Socket.h:41
@ PROXY_HEADER_READING_STATE_STARTED
Definition: Socket.h:40
@ PROXY_HEADER_READING_STATE_FAILED
Definition: Socket.h:42