Stun Server  Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
tcpserver.cpp File Reference
#include "commonincludes.hpp"
#include "tcpserver.h"
#include "server.h"
#include "stunsocket.h"
#include "stunsocketthread.h"
Include dependency graph for tcpserver.cpp:

Go to the source code of this file.

Variables

const uint32_t EPOLL_CLIENT_READ_EVENT_SET = IPOLLING_READ | IPOLLING_RDHUP
 
const uint32_t EPOLL_CLIENT_WRITE_EVENT_SET = IPOLLING_WRITE
 
const uint32_t EPOLL_LISTEN_SOCKET_EVENT_SET = IPOLLING_READ
 
const uint32_t EPOLL_PIPE_EVENT_SET = IPOLLING_READ
 
const int c_MaxNumberOfConnectionsDefault = 1000
 

Variable Documentation

const int c_MaxNumberOfConnectionsDefault = 1000

Definition at line 37 of file tcpserver.cpp.

const uint32_t EPOLL_CLIENT_READ_EVENT_SET = IPOLLING_READ | IPOLLING_RDHUP

Definition at line 25 of file tcpserver.cpp.

const uint32_t EPOLL_CLIENT_WRITE_EVENT_SET = IPOLLING_WRITE

Definition at line 27 of file tcpserver.cpp.

const uint32_t EPOLL_LISTEN_SOCKET_EVENT_SET = IPOLLING_READ

Definition at line 32 of file tcpserver.cpp.

const uint32_t EPOLL_PIPE_EVENT_SET = IPOLLING_READ

Definition at line 35 of file tcpserver.cpp.