NIONetworkDevice

    A representation of a single network device on a system.

    Interfaces.swift:213
    struct NIONetworkDevice

    See also

    • enum System
    • class NIONetworkInterface

      A representation of a single network interface on a system.

    • enum SocketAddress

      Represent a socket address to which we may want to connect or bind.

    • enum NIOBSDSocket
    • struct NIOIPProtocol

      In the Internet Protocol version 4 (IPv4) [RFC791] there is a field called “Protocol” to identify the next level protocol. This is an 8 bit field. In Internet Protocol version 6 (IPv6) [RFC8200], this field is called the “Next Header” field.

    Citizens in NIOCore

    Conformances

    Type members

    Show obsolete interfaces (1)

    Hide obsolete interfaces

    • init(NIONetworkInterface)

      Convert a NIONetworkInterface to a NIONetworkDevice. As NIONetworkDevices are a superset of NIONetworkInterfaces, it is always possible to perform this conversion.

    Instance members

    Type features