diff options
| author | ruki <[email protected]> | 2026-08-23 14:59:19 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-08-23 14:59:19 +0800 |
| commit | 7ddecb012e558dacc0c9aae762c43c3c863a372c (patch) | |
| tree | fa7d7a3795f4f6bf6be8dcd4f805f471e68de191 /xmake/core/base/socket.lua | |
| parent | deaabcd162bebe9312201bcaac48404fd8a1925a (diff) | |
fix wait 0wait
Diffstat (limited to 'xmake/core/base/socket.lua')
| -rw-r--r-- | xmake/core/base/socket.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/socket.lua b/xmake/core/base/socket.lua index 393edd199..fbe1fea10 100644 --- a/xmake/core/base/socket.lua +++ b/xmake/core/base/socket.lua @@ -675,7 +675,7 @@ end -- wait for socket events -- -- @param events the events to wait, e.g. socket.EV_RECV, socket.EV_SEND --- @param timeout the timeout in milliseconds, -1 for infinite +-- @param timeout the timeout in milliseconds, -1 for infinite, 0 to check without waiting -- @return the received events, or 0 on timeout -- function _instance:wait(events, timeout) |
