Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where can I download the official LuaSocket 2.0? #432

Open
gundamC opened this issue May 30, 2024 · 4 comments
Open

Where can I download the official LuaSocket 2.0? #432

gundamC opened this issue May 30, 2024 · 4 comments

Comments

@gundamC
Copy link

gundamC commented May 30, 2024

Where can I download the official LuaSocket 2.0? It is the version of LuaSocket that perfectly supports Lua 5.0.

@catwell
Copy link
Member

catwell commented May 30, 2024

AFAIK no official release of LuaSocket ever worked with Lua 5.0 without compat-5.1, the switch to the 5.1-style module interface was made during the beta.

If you mean with compat-5.1 you can use 2.0.2, there is a corresponding tag on this repository.

May I ask why you are stuck with 5.0 though? 5.1 and the last version of 5.0 were both released 18 years ago, it is probably time to upgrade...

@gundamC
Copy link
Author

gundamC commented May 30, 2024

@catwell Thank you for the reply. I found a version that supports Lua 5.0 at this address: https://web.tecgraf.puc-rio.br/luasocket/old/luasocket-2.0-alpha. However, I am not sure if it is an official release. The reason you are curious why I am still using Lua 5.0 is because I found an interesting open source project on GitHub, which is written in Lua 5.0. I am thinking of adding some network functionality to it.

@Tieske
Copy link
Member

Tieske commented May 30, 2024

depending on the "interesting project" it might be easier to port that to a newer version of Lua?

@catwell
Copy link
Member

catwell commented May 30, 2024

@gundamC Yes by "official" I meant "final", I think this alpha release does still support Lua 5.0.

I agree with @Tieske though, it would maybe be easier to port it to at least Lua 5.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants