Property | Type | Description | |
---|---|---|---|
ClientList | List |
||
PacketQueue | Queue |
||
m_SessionCount | int |
Method | Description | |
---|---|---|
Listen ( ) : bool | ||
OnDataReceive ( IAsyncResult async ) : void |
Invoked when a client sends data.
|
|
OnNewConnection ( IAsyncResult async ) : void |
Invoked when listener recieved a new connection.
|
|
ProcessPacket ( byte buffer, |
ProcessPacket takes a given buffer and imports it to a Packet Factory for further processing.
|
|
ProcessQueue ( |
||
SocketServer ( |
Stores parameters in local variables m_serverIP and m_listenPort.
|
|
SocketServer ( Socket newConnection ) : System |
Stores a reference to a placeholder for current objects socket.
|
public OnDataReceive ( IAsyncResult async ) : void | ||
async | IAsyncResult | |
return | void |
public OnNewConnection ( IAsyncResult async ) : void | ||
async | IAsyncResult | |
return | void |
public ProcessPacket ( byte buffer, |
||
buffer | byte | |
sockstate | ||
return | void |
public ProcessQueue ( |
||
sockstate | ||
return | void |
public SocketServer ( |
||
address | ||
port | int | |
return | System |
public SocketServer ( Socket newConnection ) : System | ||
newConnection | Socket | |
return | System |