메소드 | 설명 | |
---|---|---|
AcceptSocket ( ) : |
||
AcceptSocketAsync ( ) : Task |
||
AcceptTcpClient ( ) : |
||
AcceptTcpClientAsync ( ) : Task |
||
AllowNatTraversal ( bool allowed ) : void | ||
BeginAcceptSocket ( AsyncCallback callback, object state ) : IAsyncResult | ||
BeginAcceptTcpClient ( AsyncCallback callback, object state ) : IAsyncResult | ||
Create ( int port ) : |
||
EndAcceptSocket ( IAsyncResult asyncResult ) : |
||
EndAcceptTcpClient ( IAsyncResult asyncResult ) : |
||
Pending ( ) : bool | ||
Start ( ) : void | ||
Start ( int backlog ) : void | ||
Stop ( ) : void | ||
TcpListener ( IPAddress localaddr, int port ) : System | ||
TcpListener ( IPEndPoint localEP ) : System |
메소드 | 설명 | |
---|---|---|
TcpListener ( int port ) : System |
public BeginAcceptSocket ( AsyncCallback callback, object state ) : IAsyncResult | ||
callback | AsyncCallback | |
state | object | |
리턴 | IAsyncResult |
public BeginAcceptTcpClient ( AsyncCallback callback, object state ) : IAsyncResult | ||
callback | AsyncCallback | |
state | object | |
리턴 | IAsyncResult |
public EndAcceptSocket ( IAsyncResult asyncResult ) : |
||
asyncResult | IAsyncResult | |
리턴 |
public EndAcceptTcpClient ( IAsyncResult asyncResult ) : |
||
asyncResult | IAsyncResult | |
리턴 |
public TcpListener ( IPAddress localaddr, int port ) : System | ||
localaddr | IPAddress | |
port | int | |
리턴 | System |
public TcpListener ( IPEndPoint localEP ) : System | ||
localEP | IPEndPoint | |
리턴 | System |