[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua evolution
- From: Enrico Tassi <gareuselesinge@...>
- Date: Thu, 29 Apr 2004 20:26:05 +0200
On Thu, Apr 29, 2004 at 07:23:27PM +0200, Maxime Petazzoni wrote:
> >I think loadlib() is what you are searching for...
>
> You must compile the Lua interpretor with the libluasocket if you want
> to use this binary module. One more time, that's not what I call easy :)
> But if you can give me an exemple of socket usage in Lua, without
> touching to your Lua interpretor, go ahead, that's all I'm waiting for !
if you compiled the lua interpreter with the loadlib support(see config
line LOADLIB= -DUSE_DLOPEN=1) you should be able to load a .so (or .dll
on win32) on the fly.
read etc/README in the luasocket package... there is an example of
loadlib usage...
--
Enrico Tassi