IpTcpServerChannel 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)

This is a Server Channel implementation for the raw TCP protocol.

This channel uses Internet Pack to provide a TCP Server listening on the configured Port and will dispatch all incoming requests to the RemObjects SDK Invoker.

Compatible Clients

Namespace

Declaration (C#)

[DefaultProperty("Port")]
[System.Drawing.ToolboxBitmap(typeof(RemObjects.SDK.Server.ServerChannel), "Glyphs.IpTcpServerChannel.bmp")]
[ServerChannel, DefaultClientChannel(typeof(RemObjects.SDK.IpTcpClientChannel))]
[LicenseProvider(typeof(ROLicenseProvider))]
public class IpTcpServerChannel : ServerChannel;

Hierarchy

Properties

Property
Type
Description
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 This property specifies the TCP port that the server is listening on. By default, the RemObjects SDK TCP Servers use port 8090, but you can change this to any other value that is available on your system.
SecurityOptions ServerSecurityOptions Exposes a number of settings you can use to protect your server against outside spoofing and denial-of-service attacks.

In particular, you can set a maximum message size to be received from clients (to avoid attackers bringing down your service by sending huge messages) and a maximum time that messages may take to be received (to avoid attackers from wasting server resources by keeping connections open and not, or very slowly, sending data).

TcpServer TcpServer


Methods

Method
Description
IpTcpServerChannel Default constructor for IpTcpServerChannel.


See Also


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

ListsGlossaryFeaturesHow ToComponentsToolsSamplesArticlesArchitectureIssues

Personal tools