Skip to content

Commit 059ce17

Browse files
committed
upgrade to zune 0.5.0
1 parent 754ea87 commit 059ce17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/net/tcp.luau

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
local net = zune.net
66
local task = zune.task
7-
local process = zune.process
7+
local platform = zune.platform
88

99
local SocketUtils = require("./sock_utils")
1010

@@ -276,7 +276,7 @@ local function connectToHost(name: string, port: number): NetworkSocket
276276
for _, address in list do
277277
local socket = net.createSocket(
278278
address.family,
279-
bit32.bor(net.SOCKF.STREAM, if process.os == "windows" then 0 else net.SOCKF.CLOEXEC),
279+
bit32.bor(net.SOCKF.STREAM, if platform.os == "windows" then 0 else net.SOCKF.CLOEXEC),
280280
net.IPPROTO.TCP
281281
)
282282
local ok, err = pcall(function(): any?

0 commit comments

Comments
 (0)