Function

nw_tcp_options_set_enable_fast_open(_:_:)

Enables TCP Fast Open on a connection.

Declaration

func nw_tcp_options_set_enable_fast_open(_ options: nw_protocol_options_t, _ enable_fast_open: Bool)

Discussion

If TCP Fast Open is enabled and TLS is running on top of TCP, the TLS handshake will automatically be used as the TCP early data. If there is no protocol running on top of TCP, you should also enable fast open on the connection parameters and send idempotent data.

See Also

Customizing TCP Options