C# 클래스 Cakewalk.TCPDispatcher

TCP Listener to accept people to the world
파일 보기 프로젝트 열기: Cakez0r/Cakewalk 1 사용 예제들

공개 메소드들

메소드 설명
Start ( ) : void

Start listening for connections

Stop ( ) : void

Stop listening for connections

TCPDispatcher ( IPAddress bindAddress, ushort port ) : System

Create a tcp listener bound to the specified address and port

비공개 메소드들

메소드 설명
AcceptSocket ( IAsyncResult result ) : void

Handle a socket accept

BeginAcceptingSockets ( ) : void

Start an async socket accept

메소드 상세

Start() 공개 메소드

Start listening for connections
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stop listening for connections
public Stop ( ) : void
리턴 void

TCPDispatcher() 공개 메소드

Create a tcp listener bound to the specified address and port
public TCPDispatcher ( IPAddress bindAddress, ushort port ) : System
bindAddress System.Net.IPAddress
port ushort
리턴 System