mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-04-20 15:36:45 +02:00
Compare commits
10 Commits
8fa59cffbb
...
2d012c2c26
Author | SHA1 | Date | |
---|---|---|---|
|
2d012c2c26 | ||
|
58c76080a0 | ||
|
250e4d48f7 | ||
|
f139105c98 | ||
|
66cdeca663 | ||
|
676e5f3501 | ||
|
4dad084cfd | ||
|
51dbaad50d | ||
|
b91a378e3b | ||
|
5535e4946b |
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty" ]
|
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 }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -22,11 +22,11 @@ jobs:
|
|||||||
if: ${{ startsWith(matrix.platform, 'windows') && !startsWith(matrix.luaVersion, 'luajit') }}
|
if: ${{ startsWith(matrix.platform, 'windows') && !startsWith(matrix.luaVersion, 'luajit') }}
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
- name: Setup ‘lua’
|
- name: Setup ‘lua’
|
||||||
uses: leso-kn/gh-actions-lua@v11-staging
|
uses: luarocks/gh-actions-lua@v10
|
||||||
with:
|
with:
|
||||||
luaVersion: ${{ matrix.luaVersion }}
|
luaVersion: ${{ matrix.luaVersion }}
|
||||||
- name: Setup ‘luarocks’
|
- name: Setup ‘luarocks’
|
||||||
uses: hishamhm/gh-actions-luarocks@master
|
uses: luarocks/gh-actions-luarocks@v5
|
||||||
- name: Make and install
|
- name: Make and install
|
||||||
run: |
|
run: |
|
||||||
luarocks make -- luasocket-scm-3.rockspec
|
luarocks make -- luasocket-scm-3.rockspec
|
||||||
|
@ -79,6 +79,17 @@ distribution directory structure:</p>
|
|||||||
would be replaced by <tt>core.so</tt>.
|
would be replaced by <tt>core.so</tt>.
|
||||||
</p>
|
</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>
|
<h3>Using LuaSocket</h3>
|
||||||
|
|
||||||
<p> With the above setup, and an interpreter with shared library support,
|
<p> With the above setup, and an interpreter with shared library support,
|
||||||
|
@ -149,8 +149,8 @@ wild-card address).
|
|||||||
<!-- gettimeout +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
<!-- gettimeout +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||||
|
|
||||||
<p class="name" id="gettimeout">
|
<p class="name" id="gettimeout">
|
||||||
connected:<b>settimeout(</b>value<b>)</b><br>
|
connected:<b>gettimeout()</b><br>
|
||||||
unconnected:<b>settimeout(</b>value<b>)</b>
|
unconnected:<b>gettimeout()</b>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="description">
|
<p class="description">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user