Chapter 13. Networking
Qt provides the QFtp
and QHttp
classes for working with FTP and HTTP. These protocols are easy to use for downloading and uploading files and, in the case of HTTP, for sending requests to web servers and retrieving the results.
Qt’s QFtp
and QHttp
classes are built on the lower-level QSocket
class, which provides a TCP socket. TCP operates in terms of data streams transmitted between network nodes. QSocket
is in turn implemented on top of QSocketDevice
, a thin wrapper around the platform-specific network APIs. The QSocketDevice
class supports both TCP and UDP.
In this chapter, we will learn how to use the four classes mentioned above and other ...
Get C++ GUI Programming with Qt 3 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.