diff options
| author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2022-03-22 19:24:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-22 21:24:38 +0300 |
| commit | c1eacfa6d24dc15476f5f9befa8370e2244931d4 (patch) | |
| tree | 38424b6a6002f0e1ec5b7776232226575e66b6ce /doc/socket.html | |
| parent | f97dc8489d58aef2d038288f9a8bc69f907e17bb (diff) | |
| download | luasocket-c1eacfa6d24dc15476f5f9befa8370e2244931d4.tar.gz luasocket-c1eacfa6d24dc15476f5f9befa8370e2244931d4.tar.bz2 luasocket-c1eacfa6d24dc15476f5f9befa8370e2244931d4.zip | |
fix(docs) references to some constants added (#359)
Diffstat (limited to 'doc/socket.html')
| -rw-r--r-- | doc/socket.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/socket.html b/doc/socket.html index 68db7cc..c148114 100644 --- a/doc/socket.html +++ b/doc/socket.html | |||
| @@ -255,7 +255,8 @@ changed status. | |||
| 255 | 255 | ||
| 256 | <p class="note"> | 256 | <p class="note"> |
| 257 | <b>Note:</b> <tt>select</tt> can monitor a limited number | 257 | <b>Note:</b> <tt>select</tt> can monitor a limited number |
| 258 | of sockets, as defined by the constant <tt>socket._SETSIZE</tt>. This | 258 | of sockets, as defined by the constant <a href="#setsize"> |
| 259 | <tt>socket._SETSIZE</tt></a>. This | ||
| 259 | number may be as high as 1024 or as low as 64 by default, | 260 | number may be as high as 1024 or as low as 64 by default, |
| 260 | depending on the system. It is usually possible to change this | 261 | depending on the system. It is usually possible to change this |
| 261 | at compile time. Invoking <tt>select</tt> with a larger | 262 | at compile time. Invoking <tt>select</tt> with a larger |
| @@ -410,7 +411,8 @@ socket.<b>_SOCKETINVALID</b> | |||
| 410 | </p> | 411 | </p> |
| 411 | 412 | ||
| 412 | <p class="description"> | 413 | <p class="description"> |
| 413 | The OS value for an invalid socket. | 414 | The OS value for an invalid socket. This can be used with <a href="tcp.html#getfd"> |
| 415 | <tt>tcp:getfd</tt></a> and <a href="tcp.html#setfd"><tt>tcp:setfd</tt></a> methods. | ||
| 414 | </p> | 416 | </p> |
| 415 | 417 | ||
| 416 | <!-- try ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 418 | <!-- try ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
