We will now introduce Qt networking classes and look at their basic usage patterns. During this discussion, we will introduce even more networking terms and concepts.
Qt networking classes
TCP and UDP networking classes
Lower level transport protocols are implemented by the QUdpSocket class for the UDP protocol, as well as QTcpSocket and QTcpServer for the TCP protocol.
We identify the remote communication endpoint by using the IP address of the remote machine and a port that identifies the program on the remote machine we want to talk to. Ports are identified by their port numbers, and some of these numbers (called well-known ports) are reserved for servers implementing higher-level protocols such as 80 for HTTP or 443 for...