Function

nw_tcp_options_set_enable_keepalive

Enables TCP keepalives.

Declaration

void nw_tcp_options_set_enable_keepalive(nw_protocol_options_t options, bool enable_keepalive);

See Also

Configuring Keepalives

nw_tcp_options_set_keepalive_idle_time

Sets the number of seconds of idleness that TCP waits before sending keepalive probes.

nw_tcp_options_set_keepalive_count

Sets the number of keepalive probes that TCP sends before terminating the connection.

nw_tcp_options_set_keepalive_interval

Sets the number of seconds that TCP waits between sending keepalive probes.