This are the (new) Support Forums for FSUIPC and related products.

These forums replace the old support forums which have been running for 20+ years. The old forums contain a wealth of information on all FSUIPC products, and are still available (until the end of the year) for read-only here.

At the moment these new forums are quite empty – I will be updating the FAQ section and copying across the User Contributions from the old forums in the next few months.

Please note that you will need to Register and Login to post for support, and also to download attachments. You can view these forums without registering.

Support is also available via Discord. Please use the following invite link to join the FSUIPC Discord server:
                           https://discord.gg/zjwUTrxmmE

Lua Sockets with FS...
 
Notifications
Clear all

Lua Sockets with FSUIPC5/6/7

(@fsuipc-support)
Posts: 86
Moderator
Topic starter
 

N.B. I am not sure this post is still relevant, and the links are now invalid. I will take a look and update when time permits.
Please comment on this post if you have any issues using lua sockets.

To use the Lua Socket library om FSUIPC5/6/7, first download the luasocket-2.0.2 library from:
      http://files.luaforge.net/releases/luasocket/luasocket/luasocket-2.0.2/luasocket-2.0.2-lua-5.1.2-Win32-vc8.zip
Extract and copy the file lua/socket.lua to your FSUIPC installation folder.

Then, to use in lua scripts, use
    local socket=require("socket")
 

There should be no need to copy the core.dll as explained below, but I will leave this thread for reference.

Thanks to @Djeez for reporting this.

**********************************

You an get lua sockets under Fsuipc5 by loading the 32-bit luasocket library from
http://files.luaforge.net/releases/luasocket/luasocket/luasocket-2.0.2/luasocket-2.0.2-lua-5.1.2-Win32-vc8.zip

Unpack it into "modules/Lua", but then replace "socket/core.dll" with the one from   https://download.zerobrane.com/luasocket-win64.zip .

 

[This is from a post by Luis Damas, with thanks!]

Pete


 
Posted : November 6, 2025 10:29 am