TCP protocol parameters

To enable the TCP protocol, add the name of the TCP protocol handler to the ctg.ini configuration file.

Insert this line:
    protocol@tcp.handler=com.ibm.ctg.server.TCPHandler
Follow it with this:
    protocol@tcp.parameters=bind=host.domain.org;connecttimeout=3;dropworking;\
    idletimeout=4;pingfrequency=5;port=1;requiresecurity;\
    solinger=6;
Entries for each protocol must be in the form shown:
  • Two lines are allowed for each protocol. If you do not intend to use the Configuration Tool, you can split long lines by placing the backslash character \ at the end of a line, to indicate that the following line is a continuation.
  • The first line defines the protocol.
  • The second line defines the parameters.
  • Parameters are separated by a semicolon.
Entries correspond to fields in the TCP settings panel:
Table 1. TCP protocol
Entry in the ctg.ini file Description
bind Bind address
connecttimeout Connection timeout
dropworking Drop working connections
idletimeout Idle timeout
pingfrequency Ping frequency interval
port Port
requiresecurity Require Java Clients to use security classes
solinger SO_LINGER setting