Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtNetwork »

Classe « QTcpSocket »

Informations générales

Héritage

builtins.object
    Object
        QIODeviceBase
builtins.object
    Object
        QObject
            QIODevice
                QAbstractSocket
                    QTcpSocket

Définition

class QTcpSocket(QAbstractSocket):

Description [extrait de QTcpSocket.__doc__]

QTcpSocket(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AddressInUseErrorPySide6.QtNetwork.QAbstractSocket.SocketError.AddressInUseError
AnyIPProtocolPySide6.QtNetwork.QAbstractSocket.NetworkLayerProtocol.AnyIPProtocol
AppendPySide6.QtCore.QIODeviceBase.OpenModeFlag.Append
BoundStatePySide6.QtNetwork.QAbstractSocket.SocketState.BoundState
ClosingStatePySide6.QtNetwork.QAbstractSocket.SocketState.ClosingState
ConnectedStatePySide6.QtNetwork.QAbstractSocket.SocketState.ConnectedState
ConnectingStatePySide6.QtNetwork.QAbstractSocket.SocketState.ConnectingState
ConnectionRefusedErrorPySide6.QtNetwork.QAbstractSocket.SocketError.ConnectionRefusedError
DatagramTooLargeErrorPySide6.QtNetwork.QAbstractSocket.SocketError.DatagramTooLargeError
DefaultForPlatformPySide6.QtNetwork.QAbstractSocket.BindFlag.DefaultForPlatform
DontShareAddressPySide6.QtNetwork.QAbstractSocket.BindFlag.DontShareAddress
ExistingOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ExistingOnly
HostLookupStatePySide6.QtNetwork.QAbstractSocket.SocketState.HostLookupState
HostNotFoundErrorPySide6.QtNetwork.QAbstractSocket.SocketError.HostNotFoundError
IPv4ProtocolPySide6.QtNetwork.QAbstractSocket.NetworkLayerProtocol.IPv4Protocol
IPv6ProtocolPySide6.QtNetwork.QAbstractSocket.NetworkLayerProtocol.IPv6Protocol
KeepAliveOptionPySide6.QtNetwork.QAbstractSocket.SocketOption.KeepAliveOption
ListeningStatePySide6.QtNetwork.QAbstractSocket.SocketState.ListeningState
LowDelayOptionPySide6.QtNetwork.QAbstractSocket.SocketOption.LowDelayOption
MulticastLoopbackOptionPySide6.QtNetwork.QAbstractSocket.SocketOption.MulticastLoopbackOption
MulticastTtlOptionPySide6.QtNetwork.QAbstractSocket.SocketOption.MulticastTtlOption
NetworkErrorPySide6.QtNetwork.QAbstractSocket.SocketError.NetworkError
NewOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.NewOnly
NotOpenPySide6.QtCore.QIODeviceBase.OpenModeFlag.NotOpen
OperationErrorPySide6.QtNetwork.QAbstractSocket.SocketError.OperationError
PathMtuSocketOptionPySide6.QtNetwork.QAbstractSocket.SocketOption.PathMtuSocketOption
PauseNeverPySide6.QtNetwork.QAbstractSocket.PauseMode.PauseNever
PauseOnSslErrorsPySide6.QtNetwork.QAbstractSocket.PauseMode.PauseOnSslErrors
ProxyAuthenticationRequiredErrorPySide6.QtNetwork.QAbstractSocket.SocketError.ProxyAuthenticationRequiredError
ProxyConnectionClosedErrorPySide6.QtNetwork.QAbstractSocket.SocketError.ProxyConnectionClosedError
ProxyConnectionRefusedErrorPySide6.QtNetwork.QAbstractSocket.SocketError.ProxyConnectionRefusedError
ProxyConnectionTimeoutErrorPySide6.QtNetwork.QAbstractSocket.SocketError.ProxyConnectionTimeoutError
ProxyNotFoundErrorPySide6.QtNetwork.QAbstractSocket.SocketError.ProxyNotFoundError
ProxyProtocolErrorPySide6.QtNetwork.QAbstractSocket.SocketError.ProxyProtocolError
ReadOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadOnly
ReadWritePySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite
ReceiveBufferSizeSocketOptionPySide6.QtNetwork.QAbstractSocket.SocketOption.ReceiveBufferSizeSocketOption
RemoteHostClosedErrorPySide6.QtNetwork.QAbstractSocket.SocketError.RemoteHostClosedError
ReuseAddressHintPySide6.QtNetwork.QAbstractSocket.BindFlag.ReuseAddressHint
SctpSocketPySide6.QtNetwork.QAbstractSocket.SocketType.SctpSocket
SendBufferSizeSocketOptionPySide6.QtNetwork.QAbstractSocket.SocketOption.SendBufferSizeSocketOption
ShareAddressPySide6.QtNetwork.QAbstractSocket.BindFlag.ShareAddress
SocketAccessErrorPySide6.QtNetwork.QAbstractSocket.SocketError.SocketAccessError
SocketAddressNotAvailableErrorPySide6.QtNetwork.QAbstractSocket.SocketError.SocketAddressNotAvailableError
SocketResourceErrorPySide6.QtNetwork.QAbstractSocket.SocketError.SocketResourceError
SocketTimeoutErrorPySide6.QtNetwork.QAbstractSocket.SocketError.SocketTimeoutError
SslHandshakeFailedErrorPySide6.QtNetwork.QAbstractSocket.SocketError.SslHandshakeFailedError
SslInternalErrorPySide6.QtNetwork.QAbstractSocket.SocketError.SslInternalError
SslInvalidUserDataErrorPySide6.QtNetwork.QAbstractSocket.SocketError.SslInvalidUserDataError
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dcecc380>
TcpSocketPySide6.QtNetwork.QAbstractSocket.SocketType.TcpSocket
TemporaryErrorPySide6.QtNetwork.QAbstractSocket.SocketError.TemporaryError
TextPySide6.QtCore.QIODeviceBase.OpenModeFlag.Text
TruncatePySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate
TypeOfServiceOptionPySide6.QtNetwork.QAbstractSocket.SocketOption.TypeOfServiceOption
UdpSocketPySide6.QtNetwork.QAbstractSocket.SocketType.UdpSocket
UnbufferedPySide6.QtCore.QIODeviceBase.OpenModeFlag.Unbuffered
UnconnectedStatePySide6.QtNetwork.QAbstractSocket.SocketState.UnconnectedState
UnfinishedSocketOperationErrorPySide6.QtNetwork.QAbstractSocket.SocketError.UnfinishedSocketOperationError
UnknownNetworkLayerProtocolPySide6.QtNetwork.QAbstractSocket.NetworkLayerProtocol.UnknownNetworkLayerProtocol
UnknownSocketErrorPySide6.QtNetwork.QAbstractSocket.SocketError.UnknownSocketError
UnknownSocketTypePySide6.QtNetwork.QAbstractSocket.SocketType.UnknownSocketType
UnsupportedSocketOperationErrorPySide6.QtNetwork.QAbstractSocket.SocketError.UnsupportedSocketOperationError
WriteOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.WriteOnly

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
aboutToClose
bind bind(self, addr: PySide6.QtNetwork.QHostAddress.SpecialAddress, port: int = 0, mode: PySide6.QtNetwork.QAbstractSocket.BindMode = PySide6.QtNetwork.QAbstractSocket.BindFlag.DefaultForPlatform) -> bool [extrait de bind.__doc__]
bytesWritten
channelBytesWritten
channelReadyRead
connected
destroyed
disconnected
errorOccurred
hostFound
objectNameChanged
proxyAuthenticationRequired
readChannelFinished
readyRead
stateChanged
tr

Méthodes héritées de la classe QAbstractSocket

__init_subclass__, __subclasshook__, abort, BindFlag, BindMode, bytesAvailable, bytesToWrite, close, connectToHost, disconnectFromHost, error, flush, isSequential, isValid, localAddress, localPort, NetworkLayerProtocol, PauseMode, pauseMode, PauseModes, peerAddress, peerName, peerPort, protocolTag, proxy, readBufferSize, readData, readLineData, resume, setLocalAddress, setLocalPort, setPauseMode, setPeerAddress, setPeerName, setPeerPort, setProtocolTag, setProxy, setReadBufferSize, setSocketDescriptor, setSocketError, setSocketOption, setSocketState, skipData, socketDescriptor, SocketError, SocketOption, socketOption, SocketState, SocketType, socketType, state, waitForBytesWritten, waitForConnected, waitForDisconnected, waitForReadyRead, writeData

Méthodes héritées de la classe QIODevice

__init_subclass__, __subclasshook__, atEnd, bytesAvailable, bytesToWrite, canReadLine, close, commitTransaction, currentReadChannel, currentWriteChannel, errorString, getChar, isOpen, isReadable, isSequential, isTextModeEnabled, isTransactionStarted, isWritable, open, openMode, peek, pos, putChar, read, readAll, readChannelCount, readData, readLine, readLineData, reset, rollbackTransaction, seek, setCurrentReadChannel, setCurrentWriteChannel, setErrorString, setOpenMode, setTextModeEnabled, size, skip, skipData, startTransaction, ungetChar, waitForBytesWritten, waitForReadyRead, write, writeChannelCount, writeData

Méthodes héritées de la classe QIODeviceBase

__copy__, __init_subclass__, __subclasshook__, OpenMode, OpenModeFlag

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__