Function

nw_parameters_create_custom_ip(_:_:)

Initializes parameters for connections and listeners using a custom IP protocol.

Declaration

func nw_parameters_create_custom_ip(_ custom_ip_protocol_number: UInt8, _ configure_ip: @escaping nw_parameters_configure_protocol_block_t) -> nw_parameters_t

Discussion

Creating custom IP protocol connections requires the "com.apple.developer.networking.custom-protocol" entitlement.

See Also

Creating Parameters

typealias nw_parameters_configure_protocol_block_t

A block to configure protocol options during the creation of a parameters object.

func nw_parameters_create() -> nw_parameters_t

Initializes parameters for connections, listeners, and browsers with no protocols specified.

func nw_parameters_copy(nw_parameters_t) -> nw_parameters_t

Peforms a deep copy of a parameters object.