TCP protocol parameters
To enable the TCP protocol, add the name of the TCP protocol handler to the GATEWAY section of the 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=<number>;dropworking;\
idletimeout=<number>;pingfrequency=<number>;port=<number>;requiresecurity;\
solinger=<number>;
Entries
for each protocol must be in the form shown: - Two lines are allowed for each protocol.
You can split long lines by placing the backslash character
\
after a semicolon. - The first line defines the protocol.
- The second line defines the parameters.
- Parameters are separated by a semicolon.
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 |