lua-users home
lua-l archive

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

Hi List,

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

stdin:1: attempt to index field 'http' (a nil value)
stack traceback:
    stdin:1: in main chunk
    [C]: ?

Please tell me how to solve this. Many thanks!


Nguyen Q Chien