When doing UDP communications, the socket can either be connected, or not. If it's not connected, it can use sendto
to send it to a different destination, and it can use recvfrom
to receive from anywhere. (I honestly don't know how often this is used.)
An NEAppProxyUDPFlow
does not, as far as I can tell, have any way to tell if it has been connected. In fact, the API involved involves an array of datagrams tied to an array of endpoints. But if the provider and the app do not have the same connected state, the results could be not at all what the app expects.
Is that correct? Or is it to be expected that it will only expect to get data from the set of destinations, and only that set?