C# 클래스 Squishy.Network.Listener

파일 보기 프로젝트 열기: jaddie/WCell-Utility-Bot

공개 프로퍼티들

프로퍼티 타입 설명
BindAddress System.Net.IPAddress

공개 메소드들

메소드 설명
BeginListen ( int port ) : void

Starts listening on the given port.

Close ( ) : void

Shuts this Listener down - if still listening.

비공개 메소드들

메소드 설명
AcceptNotify ( Connection client ) : void
CloseNotify ( ) : void
ListenFailedNotify ( Exception e ) : void
OnAccept ( IAsyncResult ar ) : void

Is called, once a client connected to this listener.

메소드 상세

BeginListen() 공개 메소드

Starts listening on the given port.
public BeginListen ( int port ) : void
port int
리턴 void

Close() 공개 메소드

Shuts this Listener down - if still listening.
public Close ( ) : void
리턴 void

프로퍼티 상세

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

Local address for the server to bind to. Usually there is no need to change this.
public static IPAddress,System.Net BindAddress
리턴 System.Net.IPAddress