Skip to content

Commit e83974d

Browse files
authored
Merge pull request #22581 from compnerd/sockets
2 parents a19e09f + cde0c32 commit e83974d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/Windows/WinSDK.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ public let INVALID_HANDLE_VALUE: HANDLE = HANDLE(bitPattern: -1)!
3737
public let FOF_NO_UI: FILEOP_FLAGS =
3838
FILEOP_FLAGS(FOF_SILENT | FOF_NOCONFIRMATION | FOF_NOERRORUI | FOF_NOCONFIRMMKDIR)
3939

40+
// WinSock2.h
41+
public let INVALID_SOCKET: SOCKET = SOCKET(bitPattern: -1)
42+
public let FIONBIO: Int32 = 0x4667e
43+

0 commit comments

Comments
 (0)