Export (0) Print
Expand All

TcpClient Members

Provides client connections for TCP network services.

The TcpClient type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework TcpClient Overloaded. Initializes a new instance of the TcpClient class.
Top

  NameDescription
Public method BeginConnect Overloaded. Begins an asynchronous request for a remote host connection.
Public method Supported by the .NET Compact Framework Close Disposes this TcpClient instance and requests that the underlying TCP connection be closed.
Public method Supported by the .NET Compact Framework Connect Overloaded. Connects the client to a remote TCP host using the specified host name and port number.
Protected method Supported by the .NET Compact Framework Dispose Releases the unmanaged resources used by the TcpClient and optionally releases the managed resources.
Public method EndConnect Asynchronously accepts an incoming connection attempt.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Frees resources used by the TcpClient class. (Overrides Object.Finalize().)
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetStream Returns the NetworkStream used to send and receive data.
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Protected property Supported by the .NET Compact Framework Active Gets or set a value that indicates whether a connection has been made.
Public property Available Gets the amount of data that has been received from the network and is available to be read.
Public property Supported by the .NET Compact Framework Client Gets or sets the underlying Socket.
Public property Connected Gets a value indicating whether the underlying Socket for a TcpClient is connected to a remote host.
Public property ExclusiveAddressUse Gets or sets a Boolean value that specifies whether the TcpClient allows only one client to use a port.
Public property Supported by the .NET Compact Framework LingerState Gets or sets information on the linger state of the associated socket.
Public property Supported by the .NET Compact Framework NoDelay Gets or sets a value that disables a delay when send or receive buffers are not full.
Public property Supported by the .NET Compact Framework ReceiveBufferSize Gets or sets the size of the receive buffer.
Public property Supported by the .NET Compact Framework ReceiveTimeout Gets or sets the amount of time a TcpClient will wait to receive data once a read operation is initiated.
Public property Supported by the .NET Compact Framework SendBufferSize Gets or sets the size of the send buffer.
Public property Supported by the .NET Compact Framework SendTimeout Gets or sets the amount of time a TcpClient will wait for a send operation to complete successfully.
Top

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework IDisposable.Dispose Infrastructure. Releases all resources used by the TcpClient.
Top

Community Additions

ADD
Show:
© 2014 Microsoft