Function

nw_tcp_options_set_keepalive_idle_time(_:_:)

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

Declaration

func nw_tcp_options_set_keepalive_idle_time(_ options: nw_protocol_options_t, _ keepalive_idle_time: UInt32)

See Also

Configuring Keepalives

func nw_tcp_options_set_keepalive_count(nw_protocol_options_t, UInt32)

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

func nw_tcp_options_set_keepalive_interval(nw_protocol_options_t, UInt32)

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