Managing a system network session

In addition to networking applications, Qt also provides you with cross-platform APIs to control network interfaces and access points. Although it's not very common to control the network state, there are some certain situations where it's required to do this.

First, I'd like to introduce QNetworkConfigurationManager to you. This class manages the network configurations provided by the system. It enables you access to them, as well as to detect the system's capabilities during runtime. The network configuration is presented by the QNetworkConfiguration class, which abstracts a set of configuration options concerning how a network interface has to be configured in order to connect to the target network. To control ...

Get Qt 5 Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.