Select re-implemented in a nicer way.
Few changes in internal class and group registration. Lua modules are compiled and built into library. Dynamic library tested in Linux and Mac OS X.
This commit is contained in:
parent
b2724ad2d1
commit
58bdb658aa
28 changed files with 496 additions and 397 deletions
|
@ -1,6 +1,8 @@
|
|||
-----------------------------------------------------------------------------
|
||||
-- Little program that checks links in HTML files
|
||||
-- LuaSocket 1.5 sample files.
|
||||
-- Author: Diego Nehab
|
||||
-- RCS ID: $Id$
|
||||
-----------------------------------------------------------------------------
|
||||
socket.http.TIMEOUT = 10
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
-----------------------------------------------------------------------------
|
||||
-- Little program to download DICT word definitions
|
||||
-- LuaSocket 1.5 sample files
|
||||
-- Author: Diego Nehab
|
||||
-- RCS ID: $Id$
|
||||
-----------------------------------------------------------------------------
|
||||
function get_status(sock, valid)
|
||||
local line, err = sock:receive()
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
-----------------------------------------------------------------------------
|
||||
-- Little program to download files from URLs
|
||||
-- LuaSocket 1.5 sample files
|
||||
-- Author: Diego Nehab
|
||||
-- RCS ID: $Id$
|
||||
-----------------------------------------------------------------------------
|
||||
-- formats a number of seconds into human readable form
|
||||
function nicetime(s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue