We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 754ea87 commit 059ce17Copy full SHA for 059ce17
std/net/tcp.luau
@@ -4,7 +4,7 @@
4
5
local net = zune.net
6
local task = zune.task
7
-local process = zune.process
+local platform = zune.platform
8
9
local SocketUtils = require("./sock_utils")
10
@@ -276,7 +276,7 @@ local function connectToHost(name: string, port: number): NetworkSocket
276
for _, address in list do
277
local socket = net.createSocket(
278
address.family,
279
- bit32.bor(net.SOCKF.STREAM, if process.os == "windows" then 0 else net.SOCKF.CLOEXEC),
+ bit32.bor(net.SOCKF.STREAM, if platform.os == "windows" then 0 else net.SOCKF.CLOEXEC),
280
net.IPPROTO.TCP
281
)
282
local ok, err = pcall(function(): any?
0 commit comments