diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 01:02:07 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 01:02:07 +0000 |
| commit | d46f7a09a768b146f2f3cdc9a6a50357832bd1c7 (patch) | |
| tree | d4f7ca1e677d06446245691d5ece6dab51915f16 /src/select.h | |
| parent | 843a431ef98fd541d98fd3898463985d9bfcde28 (diff) | |
| download | luasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.tar.gz luasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.tar.bz2 luasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.zip | |
Fixed smtp.lua loading.
Adjusted tftp module.
Added some comments.
Diffstat (limited to 'src/select.h')
| -rw-r--r-- | src/select.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/select.h b/src/select.h index b58f082..f2d2cc2 100644 --- a/src/select.h +++ b/src/select.h | |||
| @@ -4,13 +4,10 @@ | |||
| 4 | * Select implementation | 4 | * Select implementation |
| 5 | * LuaSocket toolkit | 5 | * LuaSocket toolkit |
| 6 | * | 6 | * |
| 7 | * To make the code as simple as possible, the select function is | 7 | * Each object that can be passed to the select function has to export |
| 8 | * implemented int Lua, with a few helper functions written in C. | 8 | * method getfd() which returns the descriptor to be passed to the |
| 9 | * | 9 | * underlying select function. Another method, dirty(), should return |
| 10 | * Each object that can be passed to the select function has to export two | 10 | * true if there is data ready for reading (required for buffered input). |
| 11 | * methods: fd() and dirty(). Fd returns the descriptor to be passed to the | ||
| 12 | * select function. Dirty() should return true if there is data ready for | ||
| 13 | * reading (required for buffered input). | ||
| 14 | * | 11 | * |
| 15 | * RCS ID: $Id$ | 12 | * RCS ID: $Id$ |
| 16 | \*=========================================================================*/ | 13 | \*=========================================================================*/ |
