Worked on the manual.
Implemented stuffing (needs test) Added cddb and qp examples.
This commit is contained in:
parent
f67864f86c
commit
0b2542d1a6
37 changed files with 649 additions and 332 deletions
19
doc/dns.html
19
doc/dns.html
|
@ -36,8 +36,7 @@
|
|||
<h2 id=dns>DNS</h2>
|
||||
|
||||
<p>
|
||||
The following functions can be used to convert between host names and IP
|
||||
addresses. Both functions return <em>all</em> information returned by the
|
||||
Name resolution function return <em>all</em> information returned by the
|
||||
resolver in a table of the form:
|
||||
</p>
|
||||
|
||||
|
@ -53,6 +52,21 @@ resolved = {<br>
|
|||
Note that the <tt>alias</tt> list can be empty.
|
||||
</p>
|
||||
|
||||
<!-- gethostname ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
|
||||
<p class=name id=gethostname>
|
||||
socket.dns.<b>gethostname()</b>
|
||||
</p>
|
||||
|
||||
<p class=description>
|
||||
Returns the standard host name for the machine.
|
||||
</p>
|
||||
|
||||
<p class=return>
|
||||
The function returns a string with the host name.
|
||||
</p>
|
||||
|
||||
|
||||
<!-- tohostname +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
|
||||
<p class=name id=tohostname>
|
||||
|
@ -74,7 +88,6 @@ the resolver. In case of error, the function returns <b><tt>nil</tt></b>
|
|||
followed by an error message.
|
||||
</p>
|
||||
|
||||
|
||||
<!-- toip +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
|
||||
<p class=name id=toip>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue