cancel()
Cancel the session.
Declaration
func cancel()Discussion
Move into the NWUDPSessionStateCancelled state. The connection will be terminated, and all handlers will be cancelled.
Cancel the session.
func cancel()Move into the NWUDPSessionStateCancelled state. The connection will be terminated, and all handlers will be cancelled.