Documentation/Source/eric5.Cooperation.CooperationServer.html

changeset 1221
291dc0a51947
parent 945
8cd4d08fa9f6
child 1228
7afaf2fca55b
--- a/Documentation/Source/eric5.Cooperation.CooperationServer.html	Thu Aug 18 12:36:53 2011 +0200
+++ b/Documentation/Source/eric5.Cooperation.CooperationServer.html	Thu Aug 18 18:03:22 2011 +0200
@@ -73,11 +73,14 @@
 </table>
 <a NAME="CooperationServer.__init__" ID="CooperationServer.__init__"></a>
 <h4>CooperationServer (Constructor)</h4>
-<b>CooperationServer</b>(<i>parent=None</i>)
+<b>CooperationServer</b>(<i>address, parent=None</i>)
 <p>
         Constructor
 </p><dl>
-<dt><i>parent</i></dt>
+<dt><i>address</i></dt>
+<dd>
+address the server should listen on (QHostAddress)
+</dd><dt><i>parent</i></dt>
 <dd>
 reference to the parent object (QObject)
 </dd>
@@ -93,13 +96,17 @@
 </dd>
 </dl><a NAME="CooperationServer.startListening" ID="CooperationServer.startListening"></a>
 <h4>CooperationServer.startListening</h4>
-<b>startListening</b>(<i>port=-1</i>)
+<b>startListening</b>(<i>port=-1, findFreePort=False</i>)
 <p>
         Public method to start listening for new connections.
 </p><dl>
 <dt><i>port</i></dt>
 <dd>
 port to listen on (integer)
+</dd><dt><i>findFreePort</i></dt>
+<dd>
+flag indicating to search for a free port depending on
+            the configuration (boolean)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>

eric ide

mercurial