C# Class netki.PacketStreamServer

Mostrar archivo Open project: raxptor/putki-historical

Public Methods

Method Description
GetNumConnections ( ) : int
GetPort ( ) : int
OnAsyncAccepted ( IAsyncResult result ) : void
OnAsyncReceive ( IAsyncResult result ) : void
PacketStreamServer ( StreamConnectionHandler handler ) : System
Start ( int port, int max_connections = 100 ) : void

Method Details

GetNumConnections() public method

public GetNumConnections ( ) : int
return int

GetPort() public method

public GetPort ( ) : int
return int

OnAsyncAccepted() public method

public OnAsyncAccepted ( IAsyncResult result ) : void
result IAsyncResult
return void

OnAsyncReceive() public method

public OnAsyncReceive ( IAsyncResult result ) : void
result IAsyncResult
return void

PacketStreamServer() public method

public PacketStreamServer ( StreamConnectionHandler handler ) : System
handler StreamConnectionHandler
return System

Start() public method

public Start ( int port, int max_connections = 100 ) : void
port int
max_connections int
return void