Export (0) Print
Expand All

TcpListener Members

Listens for connections from TCP network clients.

The following tables list the members exposed by the TcpListener type.

  Name Description
Public method Supported by the .NET Compact Framework TcpListener Overloaded. Initializes a new instance of the TcpListener class.
Top

(see also Protected Properties )
  Name Description
Public property ExclusiveAddressUse Gets or sets a Boolean value that specifies whether the TcpListener allows only one underlying socket to listen to a specific port.
Public property Supported by the .NET Compact Framework LocalEndpoint Gets the underlying EndPoint of the current TcpListener.
Public property Supported by the .NET Compact Framework Server Gets the underlying network Socket.
Top

  Name Description
Protected property Supported by the .NET Compact Framework Active Gets a value that indicates whether TcpListener is actively listening for client connections.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework AcceptSocket Accepts a pending connection request.
Public method Supported by the .NET Compact Framework AcceptTcpClient Accepts a pending connection request
Public method BeginAcceptSocket Begins an asynchronous operation to accept an incoming connection attempt.
Public method BeginAcceptTcpClient Begins an asynchronous operation to accept an incoming connection attempt.
Public method EndAcceptSocket Asynchronously accepts an incoming connection attempt and creates a new Socket to handle remote host communication.
Public method EndAcceptTcpClient Asynchronously accepts an incoming connection attempt and creates a new TcpClient to handle remote host communication.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework 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.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Pending Determines if there are pending connection requests.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Start Overloaded. Starts listening for incoming connection requests.
Public method Supported by the .NET Compact Framework Stop Closes the listener.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft