IpTcpClientChannel Class

From RemObjects Software

Jump to: navigation, search

This is a RemObjects SDK Architecture entry
Feel free to add your notes to this topic below.



Overview (.NET)

The IpTcpClientChannel class inherits from ClientChannel to provide client communication via raw TCP connections based on Internet Pack's TcpClient Class.

Namespace

Declaration (C#)

[System.Drawing.ToolboxBitmap(typeof(RemObjects.SDK.ClientChannel), "Glyphs.IpTcpClientChannel.bmp")]
[ClientChannel]
public class IpTcpClientChannel : IpClientChannel, IRodlAccess, IDisposable;

Hierarchy

Properties

Property
Type
Description
Hostname String The host name or IP address of the server.
KeepAlive Boolean Controls whether to use HTTP Keep-Alive to keep the connection alive between requests.

If enabled (true) , once a request is made and a connection is established, this connection is kept open and used for future requests.
If disabled, the connection is closed, and a new connection is created for future requests.
Since establishing a connection is - relatively speaking - a costly and resource intensive operation for the network, compared to sending small amounts of data, it is recommended to keep this option enabled for optimal performance, if requests to the server are done relatively frequently.
For Keep-Alive to work, the option must be supported and enabled on both client and server.

Port Integer The port number of the server. The default port for the RemObjects SDK TCP Servers is port 8090.
TcpClient TcpClient Provides access to the underlying Internet Pack TcpClient component that will be used for the communication with the server.
Timeout Integer Specified the timeout, in seconds, after which the client channel will abort the request.

This ensures that for unresponsive servers, the client will not hang indefinitely waiting for a reply.

The Default value is 60 (seconds, i.e. 1 minute).

TimeoutEnabled Integer Specifies whether the client channel will timeout waiting for a request if no data is received over the connection for the amount of time specified in the Timeout property.


Methods

Method
Description
Dispose
IpTcpClientChannel Default constructor.


See Also


Product: RemObjects SDK
Current version: RemObjects SDK 'Vinci' (5.0)

ListsGlossaryFeaturesHow ToComponentsToolsSamplesArticlesArchitectureIssues

Personal tools