TcpListener Methods
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | AcceptSocket() | Accepts a pending connection request. |
![]() | AcceptSocketAsync() | Accepts a pending connection request as an asynchronous operation. |
![]() | AcceptTcpClient() | Accepts a pending connection request. |
![]() | AcceptTcpClientAsync() | Accepts a pending connection request as an asynchronous operation. |
![]() | AllowNatTraversal(Boolean) | Enables or disables Network Address Translation (NAT) traversal on a TcpListener instance. |
![]() | BeginAcceptSocket(AsyncCallback^, Object^) | Begins an asynchronous operation to accept an incoming connection attempt. |
![]() | BeginAcceptTcpClient(AsyncCallback^, Object^) | Begins an asynchronous operation to accept an incoming connection attempt. |
![]() ![]() | Create(Int32) | Creates a new TcpListener instance to listen on the specified port. |
![]() | EndAcceptSocket(IAsyncResult^) | Asynchronously accepts an incoming connection attempt and creates a new Socket to handle remote host communication. |
![]() | EndAcceptTcpClient(IAsyncResult^) | Asynchronously accepts an incoming connection attempt and creates a new TcpClient to handle remote host communication. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | Pending() | Determines if there are pending connection requests. |
![]() | Start() | Starts listening for incoming connection requests. |
![]() | Start(Int32) | Starts listening for incoming connection requests with a maximum number of pending connection. |
![]() | Stop() | Closes the listener. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |


