init(packedIPAddress:port:)

    Create a new SocketAddress for an IP address in ByteBuffer form.

    SocketAddresses.swift:384
    init(packedIPAddress: ByteBuffer, port: Int) throws

    Parameters

    packedIPAddress

    The IP address, in ByteBuffer form.

    port

    The target port.

    Returns

    the SocketAddress corresponding to this string and port combination.

    Throws

    may throw SocketAddressError.failedToParseIPByteBuffer if the IP address cannot be parsed.

    Other members in extension

    Types

    Type members

    Instance members

    Show obsolete interfaces (1)

    Hide obsolete interfaces