[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua socket porting
- From: "Jerome Vuarand" <jerome.vuarand@...>
- Date: Mon, 27 Oct 2008 14:33:19 +0100
2008/10/27 <abdul.shaik@wipro.com>:
> I am in the process of porting lua sockets into our VxWork environment. We
> are
> already using Lua version 5.1.2 and I am trying to port the LuaSocket
> 2.0.2.
>
> I observed the LuaSocket's src directory holding some lua files like
> (socket.lua, httpd.lua ..etc).
> Any body please let me know the purpose of these files? Are they required
> by
> the lua interpreter to work with lua sockets?
LuaSocket is partly implemented in C and partly in Lua. So you need at
least some of the Lua files, depending on the modules you want to use.
Each module calls 'require' to declare its dependencies, so you should
be able to figure out which ones you need depending on which ones you
plan to use.