Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » LuaSocket(How do I add LuaSocket to Lua Developement Tool)
LuaSocket [message #1084923] Mon, 12 August 2013 08:13 Go to next message
Mal McEwan is currently offline Mal McEwanFriend
Messages: 4
Registered: August 2013
Junior Member
I have just downloaded LDT 1.0 and need to add the LuaSocket module to the 5.1 runtime.
How can I extent the embedded environment or use an external Lua environment ?

Thanks in advance
Re: LuaSocket [message #1085245 is a reply to message #1084923] Mon, 12 August 2013 16:47 Go to previous message
Marc Aubry is currently offline Marc AubryFriend
Messages: 86
Registered: August 2012

It's a relevant use-case you figure-out, but not well cover by LDT for the moment.
I have open an enhancement about that to see what can be do to support this use-case nicely, see:
Please comment the bug if you have an idea to how you imagine extending an execution environment in LDT.

But here, a quick help to solve your problem on LDT 1.0:
First, download the socket apifiles here:
Be careful, Theses files can be out-dated.

Then you need to put the apifiles in the build path, there are three ways to do that:
1) Just put the apifiles in the src folder

2) Manage an other source folder in your project to avoid polluting your code:
- create a new folder in your project
- copy the apifiles in it
- Add the folder to the buildpath, see :

3) Extending an existing Execution Environment to add the apifiles. This is longer but you have to do only one time for all your projects.
- Download the appropriate EE from this list:
- Open it using a archive manager
- Add apifiles to
- Rename the EE by ediding the .rockspec file.
- Re-zip the EE.
- Update your project EE, see

And thanks for asking Smile

Previous Topic:[LDT1.0] link a dynamic library , Help !
Next Topic:LDT debugger
Goto Forum:

Current Time: Wed Jul 06 02:16:30 GMT 2022

Powered by FUDForum. Page generated in 0.02189 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top