Function

nw_connection_restart

Restarts a connection that is in the waiting state.

Declaration

void nw_connection_restart(nw_connection_t connection);

Discussion

Restart a connection when it is in the waiting state and you have reason to believe the connection may succeed if it tries again. Connections that are waiting will automatically restart on network path changes.

See Also

Creating Connections

nw_connection_create

Initializes a new connection to a remote endpoint.

nw_connection_set_queue

Sets the queue on which all connection events are delivered.

nw_connection_start

Starts establishing a connection.