|
Overview The core support has been implemented so that it is both efficient and simple to use. It is available to any Lua application once it has been properly initialized by the interpreter in use. The code has been tested and runs well on several Windows and Unix platforms. Among the support modules, the most commonly used implement the SMTP (sending e-mails), HTTP (WWW access) and FTP (uploading and downloading files) client protocols. These provide a very natural and generic interface to the functionality defined by each protocol. In addition, you will find that the MIME (common encodings), URL (anything you could possible want to do with one) and LTN12 (filters, sinks, sources and pumps) modules can be very handy. LuaSocket is free software and uses the same license as Lua. Installation 1. Download the Lua module and extract it to a temporary location. 2. Copy the contents of the "lua" folder to your project's Scripts folder. (Do not place it in a lua subfolder; put it directly inside the Scripts folder.) 3. Copy the "mime" folder to you project's Scripts folder. 4. Copy "core.dll" from the socket folder into the existing "socket" folder in your project's Scripts folder. 5. Add the following requires to your project, e.g. in Global Functions or where they will be used: -- for the ftp functions Usage The functions are documented here: http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/reference.html Example -- Show the debug window. Credits
|
|
| Keywords | LUA LuaSocket |
| Category | LUA Modules |
| Download (External) | http://luaforge.net/frs/download.php/2666/luasocket-2.0.2-lua-5.1.2-Win32-vc8.zip |
| Date Submitted | May 12, 2010 |
| Contact Name | Indigo Rose Software |
| send email to Indigo Rose Software | |
| More Info | http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/ |
| Technical Support | http://luaforge.net/projects/luasocket/ |
Write a Review
Report Broken Link
|
|