C# 클래스 LKCamelot.Connection

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

공개 프로퍼티들

프로퍼티 타입 설명
BufferSize int
_server Server

공개 메소드들

메소드 설명
BeginReceive ( AsyncCallback callback, object state ) : IAsyncResult
Connection ( Server server, Socket socket ) : System
Disconnect ( ) : void
EndReceive ( IAsyncResult result ) : int
Receive ( int start, int count ) : int
Send ( byte buffer ) : int
Send ( byte buffer, int start, int count, SocketFlags flags ) : int
_Send ( byte buffer, int start, int count, SocketFlags flags ) : int

메소드 상세

BeginReceive() 공개 메소드

public BeginReceive ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
리턴 IAsyncResult

Connection() 공개 메소드

public Connection ( Server server, Socket socket ) : System
server Server
socket Socket
리턴 System

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

EndReceive() 공개 메소드

public EndReceive ( IAsyncResult result ) : int
result IAsyncResult
리턴 int

Receive() 공개 메소드

public Receive ( int start, int count ) : int
start int
count int
리턴 int

Send() 공개 메소드

public Send ( byte buffer ) : int
buffer byte
리턴 int

Send() 공개 메소드

public Send ( byte buffer, int start, int count, SocketFlags flags ) : int
buffer byte
start int
count int
flags SocketFlags
리턴 int

_Send() 공개 메소드

public _Send ( byte buffer, int start, int count, SocketFlags flags ) : int
buffer byte
start int
count int
flags SocketFlags
리턴 int

프로퍼티 상세

BufferSize 공개적으로 정적으로 프로퍼티

public static int BufferSize
리턴 int

_server 공개적으로 프로퍼티

public Server,LKCamelot _server
리턴 Server