Home · All Classes · Modules

QTcpServer Class Reference
[QtNetwork module]

Inherits QObject.

Methods

Qt Signals


Detailed Description


Method Documentation

QTcpServer.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QTcpServer.addPendingConnection (self, QTcpSocket socket)

QTcpServer.close (self)

QString QTcpServer.errorString (self)

bool QTcpServer.hasPendingConnections (self)

QTcpServer.incomingConnection (self, int)

bool QTcpServer.isListening (self)

bool QTcpServer.listen (self, QHostAddress address = QHostAddress.Any, int port = 0)

int QTcpServer.maxPendingConnections (self)

QTcpSocket QTcpServer.nextPendingConnection (self)

QNetworkProxy QTcpServer.proxy (self)

QHostAddress QTcpServer.serverAddress (self)

QAbstractSocket.SocketError QTcpServer.serverError (self)

int QTcpServer.serverPort (self)

QTcpServer.setMaxPendingConnections (self, int)

QTcpServer.setProxy (self, QNetworkProxy)

bool QTcpServer.setSocketDescriptor (self, int)

int QTcpServer.socketDescriptor (self)

(bool, bool timedOut) QTcpServer.waitForNewConnection (self, int msecs = 0)


Qt Signal Documentation

void newConnection ()

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0