Branch: Tag:

2003-06-02

2003-06-02 17:57:28 by Martin Stjernholm <mast@lysator.liu.se>

Some doc comment fixes.

Rev: src/modules/files/socket.c:1.74

1544:   <dd><p><code><code class='datatype'>int</code> <b><span class='method'>bind</span>(</b><code class='datatype'>int</code>|<code class='datatype'>string</code> <code class='argument'>port</code>, <code class='datatype'>void</code>|<code class='datatype'>function</code>(:<code class='datatype void'>void</code>) <code class='argument'>accept_callback</code>, <code class='datatype'>void</code>|<code class='datatype'>string</code> <code class='argument'>ip</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt> - <dd class='body--doc'><p>Bind opens a sockets and binds it to port number on the local machine. + <dd class='body--doc'><p>Bind opens a socket and binds it to port number on the local machine.    If the second argument is present, the socket is set to nonblocking    and the callback funcition is called whenever something connects to -  the socket. The callback will receive the id for this port as argument. +  it. The callback will receive the id for this port as argument.    Bind returns 1 on success, and zero on failiure.</p>   <p> If the optional argument 'ip' is given, bind will try to bind to    this ip name or number.</p>