C# 클래스 SimpleTCP.Server.TcpListenerEx

Wrapper around TcpListener that exposes the Active property See: http://stackoverflow.com/questions/7630094/is-there-a-property-method-for-determining-if-a-tcplistener-is-currently-listeni
상속: System.Net.Sockets.TcpListener
파일 보기 프로젝트 열기: BrandonPotter/SimpleTCP 1 사용 예제들

공개 메소드들

메소드 설명
TcpListenerEx ( IPAddress localaddr, int port ) : System

Initializes a new instance of the T:System.Net.Sockets.TcpListener class that listens for incoming connection attempts on the specified local IP address and port number.

TcpListenerEx ( IPEndPoint localEP ) : System

Initializes a new instance of the T:System.Net.Sockets.TcpListener class with the specified local endpoint.

메소드 상세

TcpListenerEx() 공개 메소드

Initializes a new instance of the T:System.Net.Sockets.TcpListener class that listens for incoming connection attempts on the specified local IP address and port number.
is null. is not between and .
public TcpListenerEx ( IPAddress localaddr, int port ) : System
localaddr System.Net.IPAddress An that represents the local IP address.
port int The port on which to listen for incoming connection attempts.
리턴 System

TcpListenerEx() 공개 메소드

Initializes a new instance of the T:System.Net.Sockets.TcpListener class with the specified local endpoint.
is null.
public TcpListenerEx ( IPEndPoint localEP ) : System
localEP System.Net.IPEndPoint An that represents the local endpoint to which to bind the listener .
리턴 System