lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Chien Nguyen
Sent: Thursday, June 03, 2010 11:25 AM
To: Lua list
>Subject: Retrieve content of an HTML web page
>I am trying to get the content of a web page. I tried  socket.http.get 
but was not successful.

>require('socket')   -- this is ok
...
>Please tell me how to solve this. Many thanks!

RTFM
local http = require("socket.http")

Alex