broadcastAddress
The broadcast address associated with this socket interface, if it has one. Some interfaces do not, especially those that have a pointToPointDestinationAddress.
var broadcastAddress: SocketAddress? { get set }The broadcast address associated with this socket interface, if it has one. Some interfaces do not, especially those that have a pointToPointDestinationAddress.
var broadcastAddress: SocketAddress? { get set }s7NIOCore16NIONetworkDeviceV16broadcastAddressAA06SocketE0OSgvp What are these?2HXPAimport NIOCoreThe core abstractions that make up SwiftNIO.
struct NIONetworkDeviceA representation of a single network device on a system.
enum SocketAddressRepresent a socket address to which we may want to connect or bind.
init(name: String, address: SocketAddress?, netmask: SocketAddress?, broadcastAddress: SocketAddress?, pointToPointDestinationAddress: SocketAddress, multicastSupported: Bool, interfaceIndex: Int) var address: SocketAddress? { get set }The address associated with the given network device.
var debugDescription: String { get }var interfaceIndex: Int { get set }The index of the interface, as provided by if_nametoindex.
var multicastSupported: Bool { get set }If the Interface supports Multicast
var name: String { get set }The name of the network device.
var netmask: SocketAddress? { get set }The netmask associated with this address, if any.
var pointToPointDestinationAddress: SocketAddress? { get set }The address of the peer on a point-to-point interface, if this is one. Some interfaces do not have such an address: most of those have a broadcastAddress instead.
static func == (lhs: NIONetworkDevice, rhs: NIONetworkDevice) -> Bool func hash(into hasher: inout Hasher) init(_ interface: NIONetworkInterface) Convert a NIONetworkInterface to a NIONetworkDevice. As NIONetworkDevices are a superset of NIONetworkInterfaces, it is always possible to perform this conversion.