In the following section, we will learn about the Qt networking module and how it can help us to achieve server-client communication via the TCP or UDP connection protocols.
The Qt networking module
Connection protocols
The networking module in Qt is the module that offers both low-level networking functionality, such as TCP and UDP sockets, as well as high-level networking classes for web integration and network communication.
In this chapter, we will use the TCP (Transmission Control Protocol) internet protocol for our program instead of the UDP (User Datagram Protocol) protocol. The main difference is that TCP is a connection-oriented protocol that requires all clients to establish a connection to the server before they...