.NET Framework Class Library
TcpListener Members

Listens for connections from TCP network clients.

The TcpListener type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkTcpListenerOverloaded. Initializes a new instance of the TcpListener class.
Top
Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAcceptSocketAccepts a pending connection request.
Public methodSupported by the .NET Compact FrameworkAcceptTcpClientAccepts a pending connection request
Public methodBeginAcceptSocketBegins an asynchronous operation to accept an incoming connection attempt.
Public methodBeginAcceptTcpClientBegins an asynchronous operation to accept an incoming connection attempt.
Public methodEndAcceptSocketAsynchronously accepts an incoming connection attempt and creates a new Socket to handle remote host communication.
Public methodEndAcceptTcpClientAsynchronously accepts an incoming connection attempt and creates a new TcpClient to handle remote host communication.
Public methodSupported by the .NET Compact FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalizeOverloaded.
Public methodSupported by the .NET Compact FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkPendingDetermines if there are pending connection requests.
Public methodSupported by the .NET Compact FrameworkStartOverloaded. Starts listening for incoming connection requests.
Public methodSupported by the .NET Compact FrameworkStopCloses the listener.
Public methodSupported by the .NET Compact FrameworkToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Properties

  NameDescription
Protected propertySupported by the .NET Compact FrameworkActiveGets a value that indicates whether TcpListener is actively listening for client connections.
Public propertyExclusiveAddressUseGets or sets a Boolean value that specifies whether the TcpListener allows only one underlying socket to listen to a specific port.
Public propertySupported by the .NET Compact FrameworkLocalEndpointGets the underlying EndPoint of the current TcpListener.
Public propertySupported by the .NET Compact FrameworkServerGets the underlying network Socket.
Top
See Also

Reference

Taggar :


Page view tracker