Export (0) Print
Expand All

TcpListener Methods

The methods of the TcpListener class are listed here. For a complete list of TcpListener class members, see the TcpListener Members topic.

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 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:
© 2014 Microsoft