C# Class SocketPolicyServer, CrabBattle

Exibir arquivo Open project: tomoprime/CrabBattle Class Usage Examples

Public Methods

Method Description
SocketPolicyServer ( string xml ) : System
SocketPolicyServer ( string xml, int port ) : System
Start ( ) : int
Stop ( ) : void

Private Methods

Method Description
OnAccept ( IAsyncResult ar ) : void
OnReceive ( IAsyncResult ar ) : void
OnSend ( IAsyncResult ar ) : void
RunServer ( ) : void

Method Details

SocketPolicyServer() public method

public SocketPolicyServer ( string xml ) : System
xml string
return System

SocketPolicyServer() public method

public SocketPolicyServer ( string xml, int port ) : System
xml string
port int
return System

Start() public method

public Start ( ) : int
return int

Stop() public method

public Stop ( ) : void
return void