This documentation is archived and is not being maintained.
.NET Framework 2.0
Listens for connections from TCP network clients.
The following tables list the members exposed by the TcpListener type.
(see also Protected Properties )
|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.|
(see also Protected Methods )
|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||Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|Pending||Determines if there are pending connection requests.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|Start||Overloaded. Starts listening for incoming connection requests.|
|Stop||Closes the listener.|
|ToString||Returns a String that represents the current Object. (Inherited from Object.)|