Qt network programming

List of C++ classes in Qt Network:

To include the definition of a module class, use the following directive:

#include <QtNetwork>

To link to the module, add this line to your .pro file:

QT += network
class description link
QAbstractNetworkCache The interface implemented by the cache
QAbstractSocket Basic functions common to all socket types
QAuthenticator Certified object
QDnsDomainNameRecord Store domain name record information
QDnsHostAddressRecord Store host address record information
QDnsLookup Means DNS lookup
QDnsMailExchangeRecord Store DNS MX record information
QDnsServiceRecord Store DNS SRV record information
QDnsTextRecord Save DNS TXT record information
QDtls This class provides encryption for UDP sockets
QDtlsClientVerifier This class implements the generation and verification of the server-side DTLS cookie
QDtlsClientVerifier::GeneratorParameters This class defines parameters for the DTLS cookie generator
QHostAddress IP address
QHostInfo Static function for hostname lookup
QHstsPolicy The designated host supports HTTP Strict Transport Security Policy (HSTS)
QHttp2Configuration Control HTTP/2 parameters and settings
QHttpMultiPart Similar to MIME multipart messages sent via HTTP
QHttpPart Save the body part to be used in the HTTP multipart MIME message
QLocalServer Local socket server
QLocalSocket Local socket
QNetworkAccessManager Allow applications to send network requests and receive responses https://blog.csdn.net/sinat_33859977/article/details/114807926
QNetworkAddressEntry Store an IP address supported by the network interface, as well as the network mask and broadcast address associated with it
QNetworkCacheMetaData Response information cache
QNetworkConfiguration Abstraction of one or more access point configurations
QNetworkConfigurationManager Network configuration provided by the management system
QNetworkCookie Save a web cookie
QNetworkCookieJar Implement a simple QNetworkCookie object jar
QNetworkDatagram Data and metadata of UDP datagram
QNetworkDiskCache Very basic disk cache
QNetworkInterface List of host's IP address and network interface
QNetworkProxy Network layer proxy
QNetworkProxyFactory Fine agent selection
QNetworkProxyQuery Query the proxy settings of the socket
QNetworkReply Contains the data and headers of the request sent using QNetworkAccessManager https://blog.csdn.net/sinat_33859977/article/details/114807926
QNetworkRequest Save the request to be sent with QNetworkAccessManager https://blog.csdn.net/sinat_33859977/article/details/114807926
QNetworkSession Control the access point of the system and enable session management for multiple clients accessing the same access point
QOcspResponse This class represents the online certificate status protocol response
QSctpServer SCTP-based server
QSctpSocket SCTP socket
QSslCertificate Convenient X509 certificate API
QSslCertificateExtension API for accessing X509 certificate extension
QSslCipher Indicates the SSL encryption password
QSslConfiguration Save the configuration and status of the SSL connection
QSslDiffieHellmanParameters Diffie-Hellman parameter interface of the server
QSslEllipticCurve Represents the elliptic curve used by the elliptic curve cryptographic algorithm
QSslError Certificate error
QSslKey Interface for private and public keys
QSslPreSharedKeyAuthenticator Authentication data for pre-shared key (PSK) encryption suite
QSslSocket SSL encrypted sockets for client and server
QTcpServer 基于tcp的服务器 https://blog.csdn.net/sinat_33859977/article/details/100052179
QTcpSocket TCP套接字 https://blog.csdn.net/sinat_33859977/article/details/100052179
QUdpSocket UDP 套接字 https://blog.csdn.net/sinat_33859977/article/details/100057684

Guess you like

Origin blog.csdn.net/sinat_33859977/article/details/114767125