PDL TCP/IP protocol
This is a Transmission Control Protocol/Internet Protocol implemented with PDL (Programmable Driver Language).
As with the TCP/IP driver, a PDL can act as server or client. Clients must specify the remote host and port/service with which to connect. servers specify only the port/service on which to await connections.
As the PDL/Tcl code identifies message boundaries, do not use length-encoding.
PDL Options and TCP/IP Options panes
This table shows the parameters on the PDL Options and TCP/IP Options panes:
Parameter | Description |
---|---|
PDL | Click | to select the PDL script name.
Select this for the site 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 Hosts List dialog box, where you can select the host name for this connection. This option is unavailable when server is selected. | to open the
Port | Click Select
Port dialog box. Use this dialog box to select the
server port. When Type is Port is . ,When Type is Port is . or , |
to open the
Local Binding Address | Specify the IP address or a resolvable host name, or click List to make a selection. |
TCP Connection Timeout |
This is the time-out for the PDL/TCP-IP client connecting to the server. In the NetConfig file, this is listed as
To connect to the server, the PDL/TCP-IP thread invokes Use this option to configure the wait time. This can also be configured
using the This affects:
|
If this mode is enabled and the server is bound to "0.0.0.0" and "::", then 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. Click SSL dialog box. to open the
|
Data Options pane
This table shows the parameters on the Data Options pane:
Select this to close the connection after a write. | |
Select this to have the driver examine DRIVERCTL for
control keys such as CLOSE . The
TCP/IP PDL driver handles one driver control directive. It is
passed by an outbound message, and is defined in
This
directive is For example:
|
Auto-Reconnect Options Pane
This table shows the parameters on the Auto-Reconnect Options pane:
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. This option is available only when | is selected.
To use this feature, select | and , and clear . The delayed connection feature overrides auto-reconnect all of the time.
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