ka

Enables the keep-alive mechanism, which checks that the TCP socket is still alive by periodically sending a packet to solicit a response from the peer. If a number of such packets are sent without receiving a response, the connection is closed.

USYS$TCP_PARAMS {=} ka

Use

To use the keep alive functionality, you must specify the ka option in the assignment files of the client, the Uniface Router, and the Uniface Server.

Description

The ka option enables the TCP socket option SO_KEEPALIVE. This is a socket option and is implemented by the TCP stack provided on the machine. Different vendors have different ideas about the meaning of this option and its behavior.

According to the RFC 1122 requirement, the SO_KEEPALIVE mechanism:

... should only be invoked in server applications that might otherwise hang indefinitely and consume resources unnecessarily if a client crashes or aborts a connection during a network failure.