C# 클래스 DarkEmu_LoginServer.ServerSocket

파일 보기 프로젝트 열기: CarlosX/DarkEmu 1 사용 예제들

공개 메소드들

메소드 설명
AddClient ( Socket socket ) : void
Close ( ) : void
CountPlayers ( ) : int
DeleteClient ( int Index ) : void
DisconnectSocket ( int Index ) : void
FindIndex ( Socket socket ) : int
GetSocket ( int Index ) : Socket
Send ( byte buffer, int Index ) : void
ServerSocket ( string IpAdress, int Port ) : System
Start ( ) : void

비공개 메소드들

메소드 설명
OnClientConnect ( IAsyncResult ar ) : void
OnReceiveData ( IAsyncResult ar ) : void

메소드 상세

AddClient() 공개 정적인 메소드

public static AddClient ( Socket socket ) : void
socket Socket
리턴 void

Close() 공개 정적인 메소드

public static Close ( ) : void
리턴 void

CountPlayers() 공개 정적인 메소드

public static CountPlayers ( ) : int
리턴 int

DeleteClient() 공개 정적인 메소드

public static DeleteClient ( int Index ) : void
Index int
리턴 void

DisconnectSocket() 공개 정적인 메소드

public static DisconnectSocket ( int Index ) : void
Index int
리턴 void

FindIndex() 공개 정적인 메소드

public static FindIndex ( Socket socket ) : int
socket Socket
리턴 int

GetSocket() 공개 정적인 메소드

public static GetSocket ( int Index ) : Socket
Index int
리턴 Socket

Send() 공개 정적인 메소드

public static Send ( byte buffer, int Index ) : void
buffer byte
Index int
리턴 void

ServerSocket() 공개 메소드

public ServerSocket ( string IpAdress, int Port ) : System
IpAdress string
Port int
리턴 System

Start() 공개 메소드

public Start ( ) : void
리턴 void