|
|
@ -1528,7 +1528,7 @@ Creates a new TCP server. |
|
|
|
the <tt>"connection"</tt> event.</p></div> |
|
|
|
</dd> |
|
|
|
<dt class="hdlist1"> |
|
|
|
<tt>server.listen(port, host=null, backlog=1024)</tt> |
|
|
|
<tt>server.listen(port, host=null, backlog=128)</tt> |
|
|
|
</dt> |
|
|
|
<dd> |
|
|
|
<p> |
|
|
@ -1536,7 +1536,7 @@ Tells the server to listen for TCP connections to <tt>port</tt> and <tt>host</tt |
|
|
|
</p> |
|
|
|
<div class="paragraph"><p><tt>host</tt> is optional. If <tt>host</tt> is not specified the server will accept client |
|
|
|
connections on any network address.</p></div> |
|
|
|
<div class="paragraph"><p>The third argument, <tt>backlog</tt>, is also optional and defaults to 1024. The |
|
|
|
<div class="paragraph"><p>The third argument, <tt>backlog</tt>, is also optional and defaults to 128. The |
|
|
|
<tt>backlog</tt> argument defines the maximum length to which the queue of pending |
|
|
|
connections for the server may grow.</p></div> |
|
|
|
<div class="paragraph"><p>This function is synchronous.</p></div> |
|
|
@ -1944,7 +1944,7 @@ init (Handle<Object> target) |
|
|
|
<div id="footer"> |
|
|
|
<div id="footer-text"> |
|
|
|
Version 0.1.11<br /> |
|
|
|
Last updated 2009-09-23 16:59:33 CEST |
|
|
|
Last updated 2009-09-23 17:54:21 CEST |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</body> |
|
|
|