Compare commits

...

10 Commits

Author SHA1 Message Date
Phoebe
2d012c2c26
Merge 51dbaad50db25face029af6224b82c270d93b76d into 58c76080a0c654de906de9f554e2de45b1784929 2025-03-10 19:08:03 +08:00
Caleb Maclennan
58c76080a0
Merge pull request #450 from luau-project/update-ci
Update CI
2025-03-01 00:59:17 +03:00
luau-project
250e4d48f7
fix: Use a macos version supported by GitHub Actions 2025-03-01 00:58:23 +03:00
luau-project
f139105c98
ci: Use GitHub Actions from luarocks namespace 2025-03-01 00:57:51 +03:00
Caleb Maclennan
66cdeca663
Merge pull request #447 from masakk1/patch-1 2025-02-23 11:22:32 +03:00
Masak1
676e5f3501
docs: Remove unnecessary value argument from gettimeout 2025-02-23 11:12:41 +03:00
Masak1
4dad084cfd
docs: Fix udp documentation gettimeout typo 2025-02-23 11:12:41 +03:00
PhoebeHui
51dbaad50d Update the instructions 2023-11-09 23:45:32 -08:00
PhoebeHui
b91a378e3b Merge branch 'master' of https://github.com/lunarmodules/luasocket 2023-11-09 23:43:17 -08:00
PhoebeHui
5535e4946b Add vcpkg installation instructions 2020-03-31 01:12:01 -07:00
3 changed files with 16 additions and 5 deletions

View File

@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty" ]
platform: [ "ubuntu-22.04", "macos-11", "windows-2022" ]
platform: [ "ubuntu-22.04", "macos-14", "windows-2022" ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
@ -22,11 +22,11 @@ jobs:
if: ${{ startsWith(matrix.platform, 'windows') && !startsWith(matrix.luaVersion, 'luajit') }}
uses: ilammy/msvc-dev-cmd@v1
- name: Setup lua
uses: leso-kn/gh-actions-lua@v11-staging
uses: luarocks/gh-actions-lua@v10
with:
luaVersion: ${{ matrix.luaVersion }}
- name: Setup luarocks
uses: hishamhm/gh-actions-luarocks@master
uses: luarocks/gh-actions-luarocks@v5
- name: Make and install
run: |
luarocks make -- luasocket-scm-3.rockspec

View File

@ -79,6 +79,17 @@ distribution directory structure:</p>
would be replaced by <tt>core.so</tt>.
</p>
<p>
Alternatively, you can build and install LuaSocket using vcpkg dependency manager:
<pre class=example>
./vcpkg install luasocket
</pre>
The luasocket port in vcpkg is kept up to date by microsoft team members and community contributors.
If the version is out of date, please create an issue or pull request on the vcpkg repository.
</p>
<h3>Using LuaSocket</h3>
<p> With the above setup, and an interpreter with shared library support,

View File

@ -149,8 +149,8 @@ wild-card address).
<!-- gettimeout +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<p class="name" id="gettimeout">
connected:<b>settimeout(</b>value<b>)</b><br>
unconnected:<b>settimeout(</b>value<b>)</b>
connected:<b>gettimeout()</b><br>
unconnected:<b>gettimeout()</b>
</p>
<p class="description">