Easy Simple Network Library  0.3.7
All Classes Functions Modules
Functions
Server

Functions

ServerPtr esnlib::CreateServer (int maxConnectQueueSize=2048, int readBufferSize=8192, int writeBufferSize=8192)
 

Detailed Description

Function Documentation

ServerPtr esnlib::CreateServer ( int  maxConnectQueueSize = 2048,
int  readBufferSize = 8192,
int  writeBufferSize = 8192 
)

Create a server with specific read/write buffer size and max connection queue size

Parameters
maxConnectQueueSizeThe maximum size of the connection queue
readBufferSizeThe size of the read buffer
writeBufferSizeThe size of the write buffer
Returns
The pointer of the server