Classes
The following classes are available globally.
-
This class represents a network interface in your system. For example,
en0with a certain IP address. It is a wrapper around thegetifaddrssystem call.Typical use of this class is to first call
Interface.allInterfaces()and then use the properties of the interface(s) that you need.See moreSee
/usr/include/ifaddrs.hDeclaration
Swift
open class Interface : CustomStringConvertible, CustomDebugStringConvertible
View on GitHub
Classes Reference