Function

nw_connection_create(_:_:)

Initializes a new connection to a remote endpoint.

Declaration

func nw_connection_create(_ endpoint: nw_endpoint_t, _ parameters: nw_parameters_t) -> nw_connection_t

See Also

Creating Connections

func nw_connection_set_queue(nw_connection_t, DispatchQueue)

Sets the queue on which all connection events are delivered.

func nw_connection_start(nw_connection_t)

Starts establishing a connection.

func nw_connection_restart(nw_connection_t)

Restarts a connection that is in the waiting state.