lua-users home
lua-l archive

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

Hi Lorenzo,

I just updated build scripts for our project (ZeroBraneStudio) to use
luasocket 2.0.3 as some of the users pointed that 2.0.2 archive is
gone from luaforge (this is what the scripts were using previously).

You can use the build script available here:

Just run: "bash ./ lua luasocket" and the script will
build lua and luasocket (using mingw) and put the dlls in
deps/lib/lua/5.1 folder. It also installs the dlls to ../bin/ folder,
but you can comment that out (around line 175).

I tested building and using luasocket 2.0.3 without issues so far...


On Sat, May 18, 2013 at 10:17 AM, Lorenzo Donati
<> wrote:
> Hi all!
> I was going to do some toy experimentation with TCP/UDP+Lua and AFAIK the
> right (most common?) library to use seems to be luasocket, according to what
> I've understood from past posts in the list.
> BTW, my main goal is to have an easy to use library to work with TCP/UDP (I
> still have to learn about net programming and sockets, thus the emphasis on
> the ease of usage), if there are better alternatives (easier to use) to
> luasocket they are welcome.
> I need either a binary for WinXP 32 bit (preferably) or a source distro that
> can be compiled on WinXP with TDM-mingw (4.5.2 if that matters) without
> other tools (just makefiles) for use with Lua 5.1.5.
> Anyway, the WIKI pointed me to Diego Nehab's site [1] and from there I tried
> to follow the link [2] but got lost ([2] refers back to [1] for latest
> sources or to a 404 page for archived releases!) and didn't succeed in
> downloading the sources (albeit I would prefer a binary if it is available).
> I also try to Google for the mentioned Danilo Tuler's binaries mentioned in
> [1], but to no avail.
> I also discovered Diego's repositories on github [3],
> but master branch seems empty, and the cvs-diego only lists luasocket 2.0.1,
> whereas [1] mentions a 2.0.2 version. The unstable branch seems
> to be the "Lua 5.2 branch", so it wouldn't be good for me.
> Any help or pointer is appreciated!
> Cheers!
> -- Lorenzo
> [1]
> [2]
> [3]