Function

nw_tcp_options_set_persist_timeout(_:_:)

Sets the TCP persist timeout in seconds, as defined by RFC 6429.

Declaration

func nw_tcp_options_set_persist_timeout(_ options: nw_protocol_options_t, _ persist_timeout: UInt32)

See Also

Setting Timeouts

func nw_tcp_options_set_connection_timeout(nw_protocol_options_t, UInt32)

Sets the number of seconds that TCP waits before timing out its handshake.

func nw_tcp_options_set_retransmit_connection_drop_time(nw_protocol_options_t, UInt32)

Sets the number of seconds that TCP waits between retransmission attempts.