QTcpServer
#include <QtNetwork/QTcpServer>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QTcpServer
Overview
Public Functions Index
QTcpServer (QObject *parent=0) | |
virtual | ~QTcpServer () |
void | close () |
QString | errorString () const |
virtual bool | hasPendingConnections () const |
bool | isListening () const |
bool | listen (const QHostAddress &address=QHostAddress::Any, quint16 port=0) |
int | maxPendingConnections () const |
virtual QTcpSocket * | nextPendingConnection () |
QNetworkProxy | proxy () const |
QHostAddress | serverAddress () const |
QAbstractSocket::SocketError | serverError () const |
quint16 | serverPort () const |
void | setMaxPendingConnections (int numConnections) |
void | setProxy (const QNetworkProxy &networkProxy) |
bool | setSocketDescriptor (int socketDescriptor) |
int | socketDescriptor () const |
bool | waitForNewConnection (int msec=0, bool *timedOut=0) |
Protected Functions Index
void | addPendingConnection (QTcpSocket *socket) |
virtual void | incomingConnection (int handle) |
Signals Index
void | newConnection () |
Public Functions
virtual
Destructor.
void
virtual bool
bool
bool
int
virtualQTcpSocket *
QAbstractSocket::SocketError
quint16
void
void
bool
int
bool
Protected Functions
void
virtual void
Signals
void
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy