Jump to content
The simFlight Network Forums

Lua sockets - missing documentation link


Djeez

Recommended Posts

Hi,

The Lua Plug-ins manual (pdf) has a link referring to a solution for a 64 bits socket library solution. However, this link does not work for me and searching in the User Contribution section for "socket" does not help. Can you please provide a link to the solution for using sockets in 64 bit FSUIPC?

Thanks!

Emile van Gerwen.

Link to comment
Share on other sites

Try this thread: 

I think there are some links or dlls posted there, and was reported as working.

The manual and FAQ entry are both out-of-date and need revising. It would be good if you could make some notes trying to get this work, and maybe write an updated FAQ entry for other users (solution should be valid for FSUIPC5, 6 & 7). Here's the current one, which needs updating/replacing: 

 

John

 

Link to comment
Share on other sites

21 hours ago, John Dowson said:

Try this thread: 

[...]

I think there are some links or dlls posted there, and was reported as working.

Hi John,

After hours of fiddling with different socket distributions and dll replacing, I got it to work. In the end the solution turned out to be blatantly simple: put the socket.lua from the LuaSocket project for Lua 5.1 in the FSUIPC7/lua folder. That's all! The only reason I think this can work is that after the long discussion you referred to, Pete linked the socket core library into FSUIPC. I don't see how this could work otherwise. Anyway, it would be good if someone could verify this solution to see that indeed I do not have some hidden dependency on my system after all the fiddling.

Regards,

-Emile.

Link to comment
Share on other sites

Hi Emile,

22 hours ago, Djeez said:

In the end the solution turned out to be blatantly simple: put the socket.lua from the LuaSocket project for Lua 5.1 in the FSUIPC7/lua folder. That's all!

Ok, that's good to know. I'll verify this when I get  a chance and update the FAQ entry accordingly.

John

Link to comment
Share on other sites

  • 3 months later...

Hi Emile,

first, sorry for the delay with this, but I would like to clarify this now....

On 1/24/2021 at 12:17 PM, Djeez said:

After hours of fiddling with different socket distributions and dll replacing, I got it to work. In the end the solution turned out to be blatantly simple: put the socket.lua from the LuaSocket project for Lua 5.1 in the FSUIPC7/lua folder. That's all! The only reason I think this can work is that after the long discussion you referred to, Pete linked the socket core library into FSUIPC. I don't see how this could work otherwise. Anyway, it would be good if someone could verify this solution to see that indeed I do not have some hidden dependency on my system after all the fiddling.

Do you have a link to the socket.lua you refer to (or attach if allowed)? I can only find this and there is no socket.lua: http://files.luaforge.net/releases/luasocket/luasocket/luasocket-2.0.2
 

Thanks,

John

 

Later: the LuaSocket project page at LuaForge seems to be down or gone...

Edited by John Dowson
Later added
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.