Export (0) Print
Expand All

TcpListener Members

TcpListener overview

Public Constructors

public constructorTcpListener Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the TcpListener class.

Public Properties

public propertyLocalEndpoint

Supported by the .NET Compact Framework.

Gets the underlying EndPoint of the current TcpListener.

Public Methods

public methodAcceptSocket

Supported by the .NET Compact Framework.

Accepts a pending connection request.
public methodAcceptTcpClient

Supported by the .NET Compact Framework.

Accepts a pending connection request
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodPending

Supported by the .NET Compact Framework.

Determines if there are pending connection requests.
public methodStart

Supported by the .NET Compact Framework.

Starts listening for incoming connection requests.
public methodStop

Supported by the .NET Compact Framework.

Closes the listener.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Properties

protected propertyActive Gets a value that indicates whether TcpListener is actively listening for client connections.
protected propertyServer Gets the underlying network Socket.

Protected Methods

protected methodFinalize

Supported by the .NET Compact Framework.

Overridden. Frees resources used by the TcpClient class.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

TcpListener Class | System.Net.Sockets Namespace

Show:
© 2015 Microsoft