KDECore
klocalsocket.h
Go to the documentation of this file.
62 UnknownLocalSocketType = -1
207 bool listen(const QString &path, KLocalSocket::LocalSocketType type = KLocalSocket::UnixSocket);
315 friend class KLocalSocketServerPrivate;
QString errorString() const
QTcpServer * listen(const QString &protocol, const QHostAddress &address=QHostAddress::Any, quint16 port=0, QObject *parent=0)
Opens a TCP/IP socket for listening protocol protocol, binding only at address address.
Definition: ksocketfactory.cpp:115
void connectToHost(const QString &hostName, quint16 port, QFlags< QIODevice::OpenModeFlag > openMode)
virtual void close()
Definition: klocalsocket_p.h:51
KLocalSocket allows one to create and use local (Unix) sockets.
Definition: klocalsocket.h:51
void connectToHostImplementation(const QString &hostName, quint16 port, QFlags< QIODevice::OpenModeFlag > openMode)
KLocalSocketServer allows one to create a listening local socket and accept incoming connections...
Definition: klocalsocket.h:159
void disconnectFromHost()
Definition: klocalsocket_p.h:30
void disconnectFromHostImplementation()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.