lua-users home
lua-l archive

Re: Lua socket porting

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


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.

AltStyle によって変換されたページ (->オリジナル) /