C# 클래스 FastNetwork.SocketListener

socket listener
상속: ISocketListener
파일 보기 프로젝트 열기: zhujunxxxxx/FastNetwork 1 사용 예제들

공개 메소드들

메소드 설명
SocketListener ( string name, IPEndPoint endPoint, IHost host ) : System

new

Start ( ) : void

start

Stop ( ) : void

stop

비공개 메소드들

메소드 설명
AcceptAsync ( Socket socket ) : void

accept socket.

AcceptAsyncCompleted ( object sender, SocketAsyncEventArgs e ) : void

async accept socket completed handle.

메소드 상세

SocketListener() 공개 메소드

new
name is null or empty endPoint is null host is null
public SocketListener ( string name, IPEndPoint endPoint, IHost host ) : System
name string
endPoint System.Net.IPEndPoint
host IHost
리턴 System

Start() 공개 메소드

start
public Start ( ) : void
리턴 void

Stop() 공개 메소드

stop
public Stop ( ) : void
리턴 void