Instance Method

tryNextResolvedEndpoint()

Mark the current value of resolvedEndpoint as unusable, and try to switch to the next available endpoint

Declaration

func tryNextResolvedEndpoint()

Discussion

This should be used when the caller has attempted to communicate with the current resolvedEndpoint, and the caller has determined that it is unusable. If there are no other resolved endpoints, the session will move to the failed state.

See Also

Selecting Remote Endpoints

var resolvedEndpoint: NWEndpoint?

The currently targeted remote endpoint.