aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-07-02 23:31:39 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-07-02 23:31:39 +0000
commit87d260356a83b03df2629d31718bae381cd6b363 (patch)
tree15b0325c5d7bcbedc293827d605d1d9879eaa283
parent6058d1838e2b7a926a454d57e30a8ce52494b188 (diff)
downloadluasocket-87d260356a83b03df2629d31718bae381cd6b363.tar.gz
luasocket-87d260356a83b03df2629d31718bae381cd6b363.tar.bz2
luasocket-87d260356a83b03df2629d31718bae381cd6b363.zip
*** empty log message ***
-rw-r--r--doc/reference.html1
-rw-r--r--doc/tcp.html18
2 files changed, 18 insertions, 1 deletions
diff --git a/doc/reference.html b/doc/reference.html
index 8d129e3..8f86338 100644
--- a/doc/reference.html
+++ b/doc/reference.html
@@ -168,6 +168,7 @@
168<a href="tcp.html#connect">connect</a>, 168<a href="tcp.html#connect">connect</a>,
169<a href="tcp.html#getpeername">getpeername</a>, 169<a href="tcp.html#getpeername">getpeername</a>,
170<a href="tcp.html#getsockname">getsockname</a>, 170<a href="tcp.html#getsockname">getsockname</a>,
171<a href="tcp.html#getstats">getstats</a>,
171<a href="tcp.html#receive">receive</a>, 172<a href="tcp.html#receive">receive</a>,
172<a href="tcp.html#send">send</a>, 173<a href="tcp.html#send">send</a>,
173<a href="tcp.html#setoption">setoption</a>, 174<a href="tcp.html#setoption">setoption</a>,
diff --git a/doc/tcp.html b/doc/tcp.html
index 5c0da75..5f520e9 100644
--- a/doc/tcp.html
+++ b/doc/tcp.html
@@ -196,7 +196,7 @@ In case of error, the method returns <b><tt>nil</tt></b>.
196Note: It makes no sense to call this method on server objects. 196Note: It makes no sense to call this method on server objects.
197</p> 197</p>
198 198
199<!-- getpeername ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 199<!-- getsockname ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
200 200
201<p class=name id=getsockname> 201<p class=name id=getsockname>
202master:<b>getsockname()</b><br> 202master:<b>getsockname()</b><br>
@@ -213,6 +213,22 @@ The method returns a string with local IP address and a number with
213the port. In case of error, the method returns <b><tt>nil</tt></b>. 213the port. In case of error, the method returns <b><tt>nil</tt></b>.
214</p> 214</p>
215 215
216<!-- getsockname ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
217
218<p class=name id=getstats>
219client:<b>getstats()</b><br>
220</p>
221
222<p class=description>
223Returns accounting information on the socket, useful for throttling
224of bandwidth.
225</p>
226
227<p class=return>
228The method returns the number of bytes received, the number of bytes sent,
229and the age of the socket object in seconds.
230</p>
231
216<!-- listen ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 232<!-- listen ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
217 233
218<p class=name id=listen> 234<p class=name id=listen>