<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>QTcpServer Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 align="center">QTcpServer Class Reference</h1> <h3 align="center">[<a href="com_trolltech_qt_network.html">com.trolltech.qt.network</a> package]</h3> <p>Inherits <a href="qobject.html">QObject</a>.</p> <h3>Constructor</h3> <ul> <li><div class="fn"/><b>void QTcpServer(QObject parent)</b></li> </ul> <h3>Constructor Properties</h3> <ul> <li><b>prototype</b>: The QTcpServer prototype object</li> </ul> <h3>Prototype Object Properties</h3> <p>The QTcpServer prototype object inherits properties from the <a href="qobject.html">QObject</a> prototype object and also has the following properties.</p> <ul> <li><div class="fn"/><b>void close()</b></li> <li><div class="fn"/><b>String errorString()</b></li> <li><div class="fn"/><b>bool hasPendingConnections()</b></li> <li><div class="fn"/><b>bool isListening()</b></li> <li><div class="fn"/><b>bool listen(QHostAddress address, unsigned short port)</b></li> <li><div class="fn"/><b>int maxPendingConnections()</b></li> <li><div class="fn"/><b>QTcpSocket nextPendingConnection()</b></li> <li><div class="fn"/><b>QNetworkProxy proxy()</b></li> <li><div class="fn"/><b>QHostAddress serverAddress()</b></li> <li><div class="fn"/><b>SocketError serverError()</b></li> <li><div class="fn"/><b>unsigned short serverPort()</b></li> <li><div class="fn"/><b>void setMaxPendingConnections(int numConnections)</b></li> <li><div class="fn"/><b>void setProxy(QNetworkProxy networkProxy)</b></li> <li><div class="fn"/><b>bool setSocketDescriptor(int socketDescriptor)</b></li> <li><div class="fn"/><b>int socketDescriptor()</b></li> <li><div class="fn"/><b>bool waitForNewConnection(int msec)</b></li> </ul> <h3>Instance Properties</h3> <p>QTcpServer objects have no special properties beyond those inherited from the QTcpServer prototype object.</p> </body> </html>