autodoc.git / traditional_manual / chapter_9.html

version» Context lines:

autodoc.git/traditional_manual/chapter_9.html:2226:   <dd class='body--doc'><p>This function did not support IPv6 in Pike 7.8 and earlier.</p>   </dd>   <dt class='head--doc'>See also</dt>   <dd class='body--doc'><p><code>add_membership()</code></p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span> + <span class='homogen--name'><b>dup</b></span> + </dt> + <dd><p><code><code class='object unresolved'>Stdio.UDP</code> <b><span class='method'>dup</span>(</b><b>)</b></code></p></dd> +  + <dt class='head--doc'>Description</dt> + <dd class='body--doc'><p>Duplicate the udp socket.</p> + </dd> + <dt class='head--doc'>See also</dt> + <dd class='body--doc'><p><code>fd_factory()</code></p> + </dd></dl> +  +  + <hr /> + <dl class='group--doc'> + <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>enable_broadcast</b></span>   </dt>   <dd><p><code><code class='datatype'>bool</code> <b><span class='method'>enable_broadcast</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Set the broadcast flag.    If enabled then sockets receive packets sent to a broadcast    address and they are allowed to send packets to a    broadcast address.</p>   </dd>
autodoc.git/traditional_manual/chapter_9.html:2280:      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns the error code for the last command on this object.    Error code is normally cleared when a command is successful.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span> + <span class='homogen--name'><b>fd_factory</b></span> + </dt> + <dd><p><code><code class='object unresolved'>UDP</code> <b><span class='method'>fd_factory</span>(</b><b>)</b></code></p></dd> +  + <dt class='head--doc'>Description</dt> + <dd class='body--doc'><p>Factory creating <code>Stdio.UDP</code> objects.</p> + <p> This function is called by <code>dup()</code> +  and other functions creating new UDP objects.</p> + <p> The default implementation calls <code class='expr'>object_program(this_object())()</code> +  to create the new object, and returns the <code>UDP</code> inherit in it.</p> + </dd> + <dt class='head--doc'>Note</dt> + <dd class='body--doc'><p>Note that this function must return the <code>UDP</code> inherit in the object.</p> + </dd> + <dt class='head--doc'>See also</dt> + <dd class='body--doc'><p><code>dup()</code>, <code>Stdio.File()-&gt;fd_factory()</code></p> + </dd></dl> +  +  + <hr /> + <dl class='group--doc'> + <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>get_type</b></span>   </dt>   <dd><p><code><code class='datatype'>array</code>(<code class='datatype'>int</code>) <b><span class='method'>get_type</span>(</b><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Returns socket type and protocol family.</p>   </dd></dl>         <hr />