             /* this is odd, getaddrinfo returned NULL */
             throw SocketAddressError.unsupported
         }
+#endif
     }
 }
 

    /// - returns: the `SocketAddress` for the host / port pair.
    /// - throws: a `SocketAddressError.unknown` if we could not resolve the `host`, or `SocketAddressError.unsupported` if the address itself is not supported (yet).
    public static func makeAddressResolvingHost(_ host: String, port: Int) throws -> SocketAddress {
        var info: UnsafeMutablePointer<addrinfo>?

        /* FIXME: this is blocking! */


/// Special `Error` that may be thrown if we fail to create a `SocketAddress`.
import CNIOLinux

#if os(Windows)
import let WinSDK.AF_INET
import let WinSDK.AF_INET6

import func WinSDK.FreeAddrInfoW
import func WinSDK.GetAddrInfoW

import struct WinSDK.ADDRESS_FAMILY
import struct WinSDK.ADDRINFOW
import struct WinSDK.in_addr_t

import typealias WinSDK.u_short
#endif

public enum SocketAddressError: Error {
    /// The host is unknown (could not be resolved).
