[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: LuaSocket to communicate with database
From:       Diego Nehab <diego () tecgraf ! puc-rio ! br>
Date:       2005-01-31 20:06:11
Message-ID: Pine.LNX.4.58.0501311502250.16356 () opus
[Download RAW message or body]

Hi,

Assuming you refuse to use LuaSQL and really want to do your database
connectivity with LuaSocket...

> Is it possible to include LuaSocket into the standard Lua language
> without any changes to the existing syntax (eg. require and so on)
> As an example its easy to include the posix library only on the C side
> to enhance the standard language. But how is this possible with
> LuaSocket? I dislike all the additional stuff: http ftp smpt...

I am not sure I understand what is it that you dislike. Lua "standard"
does not come with support for sockets. You have to do something to get
that support loaded and available. This can be done with the "require"
business, or you can build your own interpreter and "preinstall"
everything so that scripts can just use it as if someone else had called
"require".

Is that enough?

[]s,
Diego.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic