4#ifndef QABSTRACTSOCKET_P_H
5#define QABSTRACTSOCKET_P_H
18#include <QtNetwork/private/qtnetworkglobal_p.h>
19#include "QtNetwork/qabstractsocket.h"
20#include "QtCore/qbytearray.h"
21#include "QtCore/qlist.h"
22#include "QtCore/qtimer.h"
23#include "private/qiodevice_p.h"
24#include "private/qabstractsocketengine_p.h"
44#ifndef QT_NO_NETWORKPROXY
47 emit q->proxyAuthenticationRequired(
proxy, authenticator);
85#ifndef QT_NO_NETWORKPROXY
IOBluetoothL2CAPChannel * channel
bool canWriteNotification()
virtual ~QAbstractSocketPrivate()
QList< QHostAddress > addresses
void setError(QAbstractSocket::SocketError errorCode, const QString &errorString)
void resolveProxy(quint16 port)
void emitBytesWritten(qint64 bytes, int channel=0)
QAbstractSocket::NetworkLayerProtocol preferredNetworkLayerProtocol
bool prePauseReadSocketNotifierState
void emitReadyRead(int channel=0)
void canCloseNotification()
QAbstractSocket::SocketError socketError
qintptr cachedSocketDescriptor
void proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *authenticator) override
bool prePauseExceptionSocketNotifierState
QAbstractSocket::SocketType socketType
void fetchConnectionParameters()
static QAbstractSocketEngine * getSocketEngine(QAbstractSocket *)
void _q_startConnecting(const QHostInfo &hostInfo)
bool prePauseWriteSocketNotifierState
QAbstractSocketEngine * socketEngine
void startConnectingByName(const QString &host)
virtual bool canReadNotification()
void resolveProxy(const QString &hostName, quint16 port)
void closeNotification() override
void _q_connectToNextAddress()
QHostAddress localAddress
void readNotification() override
virtual void configureCreatedSocket()
void exceptionNotification() override
bool initSocketLayer(QAbstractSocket::NetworkLayerProtocol protocol)
static void pauseSocketNotifiers(QAbstractSocket *)
virtual bool writeToSocket()
virtual bool bind(const QHostAddress &address, quint16 port, QAbstractSocket::BindMode mode)
QAbstractSocket::SocketState state
void _q_abortConnectionAttempt()
static void resumeSocketNotifiers(QAbstractSocket *)
void connectionNotification() override
void setErrorAndEmit(QAbstractSocket::SocketError errorCode, const QString &errorString)
QAbstractSocket::PauseModes pauseMode
void writeNotification() override
The QAbstractSocket class provides the base functionality common to all socket types.
SocketState
This enum describes the different states in which a socket can be.
static constexpr auto UnknownNetworkLayerProtocol
SocketError
This enum describes the socket errors that can occur.
SocketType
This enum describes the transport layer protocol.
The QAuthenticator class provides an authentication object.
The QHostAddress class provides an IP address.
The QHostInfo class provides static functions for host name lookups.
The QNetworkProxy class provides a network layer proxy.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLuint GLuint64EXT address
GLdouble GLdouble GLdouble GLdouble q