C# 클래스 netki.PacketStreamServer

파일 보기 프로젝트 열기: raxptor/putki-historical

공개 메소드들

메소드 설명
GetNumConnections ( ) : int
GetPort ( ) : int
OnAsyncAccepted ( IAsyncResult result ) : void
OnAsyncReceive ( IAsyncResult result ) : void
PacketStreamServer ( StreamConnectionHandler handler ) : System
Start ( int port, int max_connections = 100 ) : void

메소드 상세

GetNumConnections() 공개 메소드

public GetNumConnections ( ) : int
리턴 int

GetPort() 공개 메소드

public GetPort ( ) : int
리턴 int

OnAsyncAccepted() 공개 메소드

public OnAsyncAccepted ( IAsyncResult result ) : void
result IAsyncResult
리턴 void

OnAsyncReceive() 공개 메소드

public OnAsyncReceive ( IAsyncResult result ) : void
result IAsyncResult
리턴 void

PacketStreamServer() 공개 메소드

public PacketStreamServer ( StreamConnectionHandler handler ) : System
handler StreamConnectionHandler
리턴 System

Start() 공개 메소드

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