Details
-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
None
-
5.8.0
-
None
-
MacOS Sierra (10.12.4)
Description
I'm trying to determine which network interfaces/configurations have internet access. The only way I know to do this reliably is to send a network request via an interface/configuration and receive a packet. So here's what I'm doing:
- Find a configuration to test via QNetworkConfiguration Manager.
- Send a request via QNetworkAccessManger after setting it to use this configuration.
- Handle the response.
The problem is, it's not actually using the network interface represented by the configuration. It uses whatever interface actually has internet access, but it reports the configuration that I set. Either I am misunderstanding how to do this, or it is failing badly. Please see my attached test file for more info.