TCP/IP protocol
TCP/IP (Transmission Control Protocol/Internet Protocol) is a transmission protocol and addressing mechanism that creates a reliable, ordered, stream-oriented data transmission between two network peers.
Use the TCP/IP protocol driver to interface with systems communicating by TCP/IP and using length-encoding as the method for bounding messages. The driver supports several methods for separating/delimiting messages sent across the connection.
Method | Description |
---|---|
Driver message separation | TCP/IP connections operate in the stream mode. The protocol trades
characters between end-points. The end-point applications, the
system and the remote system, must use a common delimiter scheme. The driver makes no attempt to separate one logical message from another. |
Inbound messages | The remote application can deliver messages to the TCP/IP driver at any time. When the driver receives a message, it passes it into the engine for processing. |
Outbound messages | When a message is delivered to the driver for writing, the driver transmits any length-encoding information followed by the message body. |
TCP/IP Options pane
This table shows the parameters in the TCP/IP Options pane:
Parameter | Description |
---|---|
Select this for the Hub to make a connection as a client of another TCP/IP process. | |
Select this for the Hub to provide a connection point for TCP/IP clients. | |
Select this to have multiple clients simultaneously connect to one port. Click Multi-Server Options dialog box. Use this dialog box to configure the multi-server attributes. | to open the|
Host | Click | to open the Hosts List box. Use this list box to select the host name for this connection. This option is unavailable when is selected.
Port | Click Select
Port dialog box. Use this dialog box to select the
Server port. See Server Port configuration. When Port is . is selected,When Port is . or is selected,The TCP/IP Host and Port configuration elements provide the primary description for the connection, where:
|
to open the
Local Binding Address | Specify the IP address or a resolvable host name, or click | to make a selection.
TCP Connection Timeout |
To connect to the server, the TCP-IP thread
invokes Use this option to configure the wait time. This
can also be configured using the This affects:
|
When IPv4/v6 dual mode is enabled and the server is bound to "0.0.0.0" and "::", one extra listening socket is created for IPv6. Local Binding Address is blank. Two sockets are created: one for IPv4 and one for IPv6, both of which are handled separately. | |
Select this for SSL (Secure Socket Layer) configuration. When running
under security, SSL (Secure Socket Layer) connections let messages
pass through or from servers with encryption capabilities. Click SSL dialog box. to open theThe Mode choices reflect which option was selected: or . All clients connecting to a multi-server must have the same configuration, that is, all must be SSL or non-SSL.
|
Data Options pane
Parameter | Description |
---|---|
For Length, specify an integer for the message size
in bytes. For example, a length of 2 means a message size less
than 99 bytes; a length of 8 means a message size less than
99999999 bytes. For Fill, specify the fill character. For Left or Right. , selectFor Length Calculations, select Inclusive to include length-encoding bytes, or Exclusive to exclude length-encoding bytes. |
|
For Length, click the arrow to select the number of
bytes from the menu. For Order, select or .For Length Calculations, select to include length-encoding bytes, or to exclude length-encoding bytes. |
|
Use this for configuring the HL7 MLP (Minimum Layer
Protocol). After selecting this option, click Encapsulated
Options dialog box. See TCP/IP MLP. |
to open the |
Select this to close the connection after a write. | |
Select this to have the driver examine DRIVERCTL for control keys such as CLOSE, and populate DRIVERCTL when events such as a socket close happen. | |
Select this to write nothing to the connection. |
Auto-Reconnect Options pane
This table shows the parameters for the Auto-Reconnect Options pane:
Parameter | Description |
---|---|
Select this to automatically reestablish a broken connection. | |
Reopen Time | Specify the minimum number of seconds to wait after connection failure before reconnection. The default is 5. |
To use this feature, select | and , and clear .
Start-up Procedures Pane
Click TPS Editor. Use this to select the procedures to run when the thread starts. This is a TPS (Tcl Procedure Stream). Use it to trade messages with the remote end.
to open the