C# 클래스 SimpleTCP.SimpleTcpServer

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

공개 메소드들

메소드 설명
Broadcast ( byte data ) : void
Broadcast ( string data ) : void
BroadcastLine ( string data ) : void
GetIPAddresses ( ) : IEnumerable
GetListeningIPs ( ) : List
SimpleTcpServer ( ) : System
Start ( IPAddress ipAddress, int port ) : SimpleTcpServer
Start ( int port, AddressFamily addressFamilyFilter ) : SimpleTcpServer
Start ( int port, bool ignoreNicsWithOccupiedPorts = true ) : SimpleTcpServer
Stop ( ) : void

비공개 메소드들

메소드 설명
DebugInfo ( string format ) : void
NotifyClientConnected ( SimpleTCP.Server listener, TcpClient newClient ) : void
NotifyClientDisconnected ( SimpleTCP.Server listener, TcpClient disconnectedClient ) : void
NotifyDelimiterMessageRx ( SimpleTCP.Server listener, TcpClient client, byte msg ) : void
NotifyEndTransmissionRx ( SimpleTCP.Server listener, TcpClient client, byte msg ) : void
RankIpAddress ( IPAddress addr ) : int

메소드 상세

Broadcast() 공개 메소드

public Broadcast ( byte data ) : void
data byte
리턴 void

Broadcast() 공개 메소드

public Broadcast ( string data ) : void
data string
리턴 void

BroadcastLine() 공개 메소드

public BroadcastLine ( string data ) : void
data string
리턴 void

GetIPAddresses() 공개 메소드

public GetIPAddresses ( ) : IEnumerable
리턴 IEnumerable

GetListeningIPs() 공개 메소드

public GetListeningIPs ( ) : List
리턴 List

SimpleTcpServer() 공개 메소드

public SimpleTcpServer ( ) : System
리턴 System

Start() 공개 메소드

public Start ( IPAddress ipAddress, int port ) : SimpleTcpServer
ipAddress System.Net.IPAddress
port int
리턴 SimpleTcpServer

Start() 공개 메소드

public Start ( int port, AddressFamily addressFamilyFilter ) : SimpleTcpServer
port int
addressFamilyFilter AddressFamily
리턴 SimpleTcpServer

Start() 공개 메소드

public Start ( int port, bool ignoreNicsWithOccupiedPorts = true ) : SimpleTcpServer
port int
ignoreNicsWithOccupiedPorts bool
리턴 SimpleTcpServer

Stop() 공개 메소드

public Stop ( ) : void
리턴 void