This documentation is archived and is not being maintained.
Listens for connections from TCP network clients.
The TcpListener type exposes the following members.
|AcceptSocket||Accepts a pending connection request.|
|AcceptTcpClient||Accepts a pending connection request|
|BeginAcceptSocket||Begins an asynchronous operation to accept an incoming connection attempt.|
|BeginAcceptTcpClient||Begins an asynchronous operation to accept an incoming connection attempt.|
|EndAcceptSocket||Asynchronously accepts an incoming connection attempt and creates a new Socket to handle remote host communication.|
|EndAcceptTcpClient||Asynchronously accepts an incoming connection attempt and creates a new TcpClient to handle remote host communication.|
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
In .NET Compact Framework, this member is overridden by Finalize().
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|Pending||Determines if there are pending connection requests.|
|Start||Overloaded. Starts listening for incoming connection requests.|
|Stop||Closes the listener.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|Active||Gets a value that indicates whether TcpListener is actively listening for client connections.|
|ExclusiveAddressUse||Gets or sets a Boolean value that specifies whether the TcpListener allows only one underlying socket to listen to a specific port.|
|LocalEndpoint||Gets the underlying EndPoint of the current TcpListener.|
|Server||Gets the underlying network Socket.|