Function

nw_parameters_set_fast_open_enabled

Enables sending application data with protocol handshakes.

Declaration

void nw_parameters_set_fast_open_enabled(nw_parameters_t parameters, bool fast_open_enabled);

Discussion

When fast open is enabled on a connection, the application is expected to send its early data to be included with the handshake as idempotent data. This data can be sent before or after calling start.

See Also

Customizing Connection Options

nw_parameters_set_multipath_service

Enables multipath protocols to allow connections to use multiple interfaces.

nw_parameters_get_multipath_service

Checks if multipath is enabled on a connection.

nw_multipath_service_t

Modes in which a connection can support multipath protocols.

nw_parameters_set_service_class

Sets a level of service quality to use for connections.

nw_parameters_get_service_class

Checks the level of service quality used for connections.

nw_service_class_t

Levels of service quality that can be used with a connection.

nw_parameters_get_fast_open_enabled

Checks if sending application data with protocol handshakes is enabled.

nw_parameters_set_expired_dns_behavior

Sets the behavior for how expired DNS answers should be used.

nw_parameters_get_expired_dns_behavior

Checks the behavior for how expired DNS answers should be used.

nw_parameters_expired_dns_behavior_t

Options for configuring how expired DNS answers should be used.

nw_parameters_set_prefer_no_proxy

Sets a Boolean that indicates that connections should ignore proxies when they are enabled on the system.

nw_parameters_get_prefer_no_proxy

Checks if proxies are ignored by default.

nw_parameters_set_include_peer_to_peer

Enables peer-to-peer link technologies for connections and listeners.

nw_parameters_get_include_peer_to_peer

Checks whether a connection is allowed to use peer-to-peer link technologies.

nw_parameters_set_reuse_local_address

Allows reusing local addresses and ports across connections.

nw_parameters_get_reuse_local_address

Checks whether a connection allows reusing local addresses and ports.

nw_parameters_set_local_only

Restricts listeners to only accepting connections from the local link.

nw_parameters_get_local_only

Checks if a listener is restricted to accepting connections from the local link.