IpTcpClientChannel Class
From RemObjects Software
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
- System.ComponentModel.Component
- RemObjects.SDK.Channel
- RemObjects.SDK.ClientChannel
- RemObjects.SDK.IpTcpClientChannel
- RemObjects.SDK.ClientChannel
- RemObjects.SDK.Channel
Properties
| | | |
|---|---|---|
| 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. |
| 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
| | |
|---|---|
| Dispose | |
| IpTcpClientChannel | Default constructor. |
See Also
Product: RemObjects SDK
Current version: RemObjects SDK 'Vinci' (5.0)
Lists — Glossary — Features — How To — Components — Tools — Samples — Articles — Architecture — Issues
