Function

nw_connection_copy_current_path

Accesses the network path the connection is using.

Declaration

nw_path_t nw_connection_copy_current_path(nw_connection_t connection);

See Also

Handling Path Updates

nw_connection_set_path_changed_handler

Sets a handler that receives network path updates.

nw_connection_path_event_handler_t

A handler that delivers network path updates.

nw_connection_set_viability_changed_handler

Sets a handler that receives updates when data can be sent and received.

nw_connection_set_better_path_available_handler

Sets a handler that receives updates when an alternative network path is preferred over the current path.

nw_connection_boolean_event_handler_t

A handler that receives Boolean state updates from a connection, such as viability and better path state.