luasocket
Network support for the Lua language
Latest version: 3.1.0
Add to xmake.lua
add_requires("luasocket 3.1.0")Learn how to add and link packages with Xmake →
Information
- License
- MIT
- Recipe updated
- 2025-05-27T01:13:43.000Z
Platforms
- windows: x86, x64, arm, arm64, arm64ec
Options
No configurable options.
Versions
- v3.1.0
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "luasocket 3.1.0"show info
xrepo info "luasocket"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("luasocket 3.1.0")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("luasocket")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "luasocket 3.1.0" shell