NAME
Qt::Network::QTcpServer
PUBLIC METHODS
- QTcpServer(QObject * parent)
- QTcpServer(QObject * parent = 0)
- ~QTcpServer()
- void close()
- QString errorString()
- bool hasPendingConnections()
- bool isListening()
- bool listen(const QHostAddress & address, quint16 port)
- bool listen(const QHostAddress & address, quint16 port = 0)
- bool listen(const QHostAddress & address = QHostAddress::Any, quint16 port = 0)
- int maxPendingConnections()
- QTcpSocket * nextPendingConnection()
- QNetworkProxy proxy()
- QHostAddress serverAddress()
- QAbstractSocket::SocketError serverError()
- quint16 serverPort()
- void setMaxPendingConnections(int numConnections)
- void setProxy(const QNetworkProxy & networkProxy)
- bool setSocketDescriptor(int socketDescriptor)
- int socketDescriptor()
- bool waitForNewConnection(int msec, bool * timedOut)
- bool waitForNewConnection(int msec, bool * timedOut = 0)
- bool waitForNewConnection(int msec = 0, bool * timedOut = 0)
ENUM VALUES
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.