Export (0) Print
Expand All
3 out of 3 rated this helpful - Rate this topic

TcpClient Members

Provides client connections for TCP network services.

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

  Name Description
Public method Supported by the .NET Compact Framework TcpClient Overloaded. Initializes a new instance of the TcpClient class.
Top
(see also Protected Properties )
  Name Description
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 about the sockets linger time.
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
  Name Description
Protected property Supported by the .NET Compact Framework Active Gets or set a value that indicates whether a connection has been made.
Top
(see also Protected Methods )
  Name Description
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 without closing the underlying connection.
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.
Public method EndConnect Asynchronously accepts an incoming connection attempt.
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. (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)
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 ToString  Returns a String that represents the current Object. (inherited from Object)
Top
  Name Description
Protected method Supported by the .NET Compact Framework Dispose Releases the unmanaged resources used by the TcpClient and optionally releases the managed resources.
Protected method Supported by the .NET Compact Framework Finalize Overridden. Frees resources used by the TcpClient class.
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.