KDECore
k3clientsocketbase.h
Go to the documentation of this file.
82 Unconnected = Bound,
83 Connected = Open,
85 };
virtual bool bind(const QString &node=QString(), const QString &service=QString())=0
Binds this socket to the given nodename and service, or use the default ones if none are given.
void aboutToConnect(const KNetwork::KResolverEntry &remote, bool &skip)
This signal is emitted when the socket is about to connect to an address (but before doing so).
void connected(const KNetwork::KResolverEntry &remote)
This socket is emitted when the socket successfully connects to a remote address.
void closed()
This signal is emitted when the socket completes the closing/shut down process.
void readyWrite()
This signal is emitted whenever the socket is ready for writing – i.e., whenever there's space availa...
void gotError(int code)
This signal is emitted when this object finds an error.
void hostFound()
This signal is emitted when the lookup is successfully completed.
void bound(const KNetwork::KResolverEntry &local)
This signal is emitted when the socket successfully binds to an address.
void stateChanged(int newstate)
This signal is emitted whenever the socket state changes.
virtual bool connect(const QString &node=QString(), const QString &service=QString(), OpenMode mode=ReadWrite)=0
Attempts to connect to a given hostname and service, or use the default ones if none are given.
static QByteArray lookup(const KConfigIniBackend::BufferFragment &fragment, QHash< KConfigIniBackend::BufferFragment, QByteArray > *cache)
Definition: kconfigini.cpp:43
A namespace to store all networking-related (socket) classes.
Definition: k3bufferedsocket.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.