Skip to Content
Hands-On GUI Programming with C++ and Qt5
book

Hands-On GUI Programming with C++ and Qt5

by Lee Zhi Eng
April 2018
Intermediate to advanced
404 pages
8h 27m
English
Packt Publishing
Content preview from Hands-On GUI Programming with C++ and Qt5

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 are able to communicate with each other.

UDP on the other hand is a connectionless protocol that does not require a connection. The client will just send whatever data it needs to send to the destination, without checking ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ GUI Programming with Qt 4

C++ GUI Programming with Qt 4

Jasmin Blanchette, Mark Summerfield

Publisher Resources

ISBN: 9781788397827Supplemental Content