Skip to content

Commit

Permalink
NIOCore: import INET{,6}_ADDRSTRLEN constants (#2138)
Browse files Browse the repository at this point in the history
This imports the address string length constants from WinSock for
Windows.
  • Loading branch information
compnerd committed May 31, 2022
1 parent 9bf5075 commit 8b3acb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/NIOCore/SocketAddresses.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
import let WinSDK.AF_INET
import let WinSDK.AF_INET6

import let WinSDK.INET_ADDRSTRLEN
import let WinSDK.INET6_ADDRSTRLEN

import func WinSDK.FreeAddrInfoW
import func WinSDK.GetAddrInfoW

Expand Down

0 comments on commit 8b3acb6

Please sign in to comment.