Networking is almost as important to mobile devices as the device being mobile. Without networking, data would have to be physically moved from one place to another. Luckily, Qt has extensive networking features in QNetwork. In this chapter, we will discuss the following APIs:
- QNetworkReply
- QNetworkRequest
- QDnsLookup
- QHostInfo
- QLocalServer
- QTcpSocket
To show available Wi-Fi networks that are nearby, we will also go over the following:
- QNetworkSession
- QNetworkConfiguration
You will also learn how to use Qt APIs for standard networking tasks, such as Domain Name Service (DNS) lookups, download and upload files, and how to use Qt's socket classes for communication.