aboutsummaryrefslogtreecommitdiff
path: root/doc/dns.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-02-04 14:29:11 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-02-04 14:29:11 +0000
commit0b2542d1a61fc5425ff65ab3dbf7ba7de174763f (patch)
tree8a6188e11db0c9ef6891c31e8a1bebca050b23b2 /doc/dns.html
parentf67864f86c7d703325e86b14d0ba33992c52891b (diff)
downloadluasocket-0b2542d1a61fc5425ff65ab3dbf7ba7de174763f.tar.gz
luasocket-0b2542d1a61fc5425ff65ab3dbf7ba7de174763f.tar.bz2
luasocket-0b2542d1a61fc5425ff65ab3dbf7ba7de174763f.zip
Worked on the manual.
Implemented stuffing (needs test) Added cddb and qp examples.
Diffstat (limited to 'doc/dns.html')
-rw-r--r--doc/dns.html19
1 files changed, 16 insertions, 3 deletions
diff --git a/doc/dns.html b/doc/dns.html
index 17cee45..71a9719 100644
--- a/doc/dns.html
+++ b/doc/dns.html
@@ -36,8 +36,7 @@
36<h2 id=dns>DNS</h2> 36<h2 id=dns>DNS</h2>
37 37
38<p> 38<p>
39The following functions can be used to convert between host names and IP 39Name resolution function return <em>all</em> information returned by the
40addresses. Both functions return <em>all</em> information returned by the
41resolver in a table of the form: 40resolver in a table of the form:
42</p> 41</p>
43 42
@@ -53,6 +52,21 @@ resolved = {<br>
53Note that the <tt>alias</tt> list can be empty. 52Note that the <tt>alias</tt> list can be empty.
54</p> 53</p>
55 54
55<!-- gethostname ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
56
57<p class=name id=gethostname>
58socket.dns.<b>gethostname()</b>
59</p>
60
61<p class=description>
62Returns the standard host name for the machine.
63</p>
64
65<p class=return>
66The function returns a string with the host name.
67</p>
68
69
56<!-- tohostname +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 70<!-- tohostname +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
57 71
58<p class=name id=tohostname> 72<p class=name id=tohostname>
@@ -74,7 +88,6 @@ the resolver. In case of error, the function returns <b><tt>nil</tt></b>
74followed by an error message. 88followed by an error message.
75</p> 89</p>
76 90
77
78<!-- toip +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 91<!-- toip +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
79 92
80<p class=name id=toip> 93<p class=name id=toip>