mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 12:28:21 +01:00
Fixed more reported bugs.
This commit is contained in:
parent
c554b0c9df
commit
24fbcf3470
@ -302,7 +302,7 @@ server:<b>setoption(</b>option [, value]<b>)</b>
|
|||||||
|
|
||||||
<p class=description>
|
<p class=description>
|
||||||
Sets options for the TCP object. Options are only needed by low-level or
|
Sets options for the TCP object. Options are only needed by low-level or
|
||||||
time-critical applications. You should only modify a an option if you
|
time-critical applications. You should only modify an option if you
|
||||||
are sure you need it.
|
are sure you need it.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -314,7 +314,7 @@ depends on the option being set:
|
|||||||
<li> '<tt>tcp-nodelay</tt>': Setting this option to <tt>true</tt> disables the
|
<li> '<tt>tcp-nodelay</tt>': Setting this option to <tt>true</tt> disables the
|
||||||
Nagle's algorithm for the connection;
|
Nagle's algorithm for the connection;
|
||||||
<li> '<tt>linger</tt>': Controls the action taken when unsent data are
|
<li> '<tt>linger</tt>': Controls the action taken when unsent data are
|
||||||
queued on socket and a close is performed. The value is a table with a
|
queued on a socket and a close is performed. The value is a table with a
|
||||||
boolean entry '<tt>on</tt>' and a numeric entry for the time interval
|
boolean entry '<tt>on</tt>' and a numeric entry for the time interval
|
||||||
'<tt>timeout</tt>' in seconds.
|
'<tt>timeout</tt>' in seconds.
|
||||||
If the '<tt>on</tt>' field is set to <tt>true</tt>,
|
If the '<tt>on</tt>' field is set to <tt>true</tt>,
|
||||||
|
@ -312,7 +312,7 @@ unconnected:<b>setoption(</b>option [, value]<b>)</b>
|
|||||||
<p class="description">
|
<p class="description">
|
||||||
Sets options for the UDP object. Options are
|
Sets options for the UDP object. Options are
|
||||||
only needed by low-level or time-critical applications. You should
|
only needed by low-level or time-critical applications. You should
|
||||||
only modify a an option if you are sure you need it.</p>
|
only modify an option if you are sure you need it.</p>
|
||||||
<p class="parameters"><tt>Option</tt> is a string with the option
|
<p class="parameters"><tt>Option</tt> is a string with the option
|
||||||
name, and <tt>value</tt> depends on the option being set:
|
name, and <tt>value</tt> depends on the option being set:
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user