C# Class netki.PacketStreamServer

Afficher le fichier Open project: raxptor/putki-historical

Méthodes publiques

Méthode 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 méthode

public GetNumConnections ( ) : int
Résultat int

GetPort() public méthode

public GetPort ( ) : int
Résultat int

OnAsyncAccepted() public méthode

public OnAsyncAccepted ( IAsyncResult result ) : void
result IAsyncResult
Résultat void

OnAsyncReceive() public méthode

public OnAsyncReceive ( IAsyncResult result ) : void
result IAsyncResult
Résultat void

PacketStreamServer() public méthode

public PacketStreamServer ( StreamConnectionHandler handler ) : System
handler StreamConnectionHandler
Résultat System

Start() public méthode

public Start ( int port, int max_connections = 100 ) : void
port int
max_connections int
Résultat void