mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-27 04:48:21 +01:00
*** empty log message ***
This commit is contained in:
parent
6058d1838e
commit
87d260356a
@ -168,6 +168,7 @@
|
|||||||
<a href="tcp.html#connect">connect</a>,
|
<a href="tcp.html#connect">connect</a>,
|
||||||
<a href="tcp.html#getpeername">getpeername</a>,
|
<a href="tcp.html#getpeername">getpeername</a>,
|
||||||
<a href="tcp.html#getsockname">getsockname</a>,
|
<a href="tcp.html#getsockname">getsockname</a>,
|
||||||
|
<a href="tcp.html#getstats">getstats</a>,
|
||||||
<a href="tcp.html#receive">receive</a>,
|
<a href="tcp.html#receive">receive</a>,
|
||||||
<a href="tcp.html#send">send</a>,
|
<a href="tcp.html#send">send</a>,
|
||||||
<a href="tcp.html#setoption">setoption</a>,
|
<a href="tcp.html#setoption">setoption</a>,
|
||||||
|
18
doc/tcp.html
18
doc/tcp.html
@ -196,7 +196,7 @@ In case of error, the method returns <b><tt>nil</tt></b>.
|
|||||||
Note: It makes no sense to call this method on server objects.
|
Note: It makes no sense to call this method on server objects.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<!-- getpeername ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
<!-- getsockname ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||||
|
|
||||||
<p class=name id=getsockname>
|
<p class=name id=getsockname>
|
||||||
master:<b>getsockname()</b><br>
|
master:<b>getsockname()</b><br>
|
||||||
@ -213,6 +213,22 @@ The method returns a string with local IP address and a number with
|
|||||||
the port. In case of error, the method returns <b><tt>nil</tt></b>.
|
the port. In case of error, the method returns <b><tt>nil</tt></b>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<!-- getsockname ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||||
|
|
||||||
|
<p class=name id=getstats>
|
||||||
|
client:<b>getstats()</b><br>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p class=description>
|
||||||
|
Returns accounting information on the socket, useful for throttling
|
||||||
|
of bandwidth.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p class=return>
|
||||||
|
The method returns the number of bytes received, the number of bytes sent,
|
||||||
|
and the age of the socket object in seconds.
|
||||||
|
</p>
|
||||||
|
|
||||||
<!-- listen ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
<!-- listen ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||||
|
|
||||||
<p class=name id=listen>
|
<p class=name id=listen>
|
||||||
|
Loading…
Reference in New Issue
Block a user