Network support for the Lua language
Go to file
Diego Nehab 84baa83864 The actuall bind to the Lua language has been rewritten with
generalized use of closure values. Sockets are now real tables,
where each method receives a p_sock structure as a closure.
Global version of methods are now optional, and call the table
versions.
Included the toip function that converts from host name to ip address.
new implementation of '*a' was broken as has been fixed.
The windows code has been tested and is working.
2001-01-15 04:16:35 +00:00
etc Initial revision 2000-12-29 22:15:09 +00:00
samples Initial revision 2000-12-29 22:15:09 +00:00
src The actuall bind to the Lua language has been rewritten with 2001-01-15 04:16:35 +00:00
test Initial revision 2000-12-29 22:15:09 +00:00
makefile.dist Initial revision 2000-12-29 22:15:09 +00:00
README Initial revision 2000-12-29 22:15:09 +00:00

This directory contains the implementation of the protocols FTP, HTTP and
SMTP. The files provided are:

	http.lua				-- HTTP protocol implementation
	base64.lua				-- base64 encoding implementation

The module  http.lua provides  functionality to download  an URL  from a
HTTP server. The  implementation conforms to the  HTTP/1.1 standard, RFC
2068. The base64.lua  module provides base64 encoding  and decoding. The
module is used for the HTTP Basic Authentication Scheme, and conforms to
RFC 1521.

	smtp.lua				-- SMTP protocol implementation
	
The module smtp.lua provides functionality  to send e-mail messages to a
SMTP mail server. The implementation conforms to RFC 821.

	ftp.lua					-- FTP protocol implementation

The module ftp.lua provides functions  to download and upload files from
and to FTP servers. The implementation conforms to RFC 959.

These implementations are supported. Please send any comments do
diego@tecgraf.puc-rio.br.