Safe Haskell | Safe-Inferred |
---|
Documentation
getNetworkInterfaces :: IO [NetworkInterface]Source
Gets the address information for each of the network interfaces on the local computer.
data NetworkInterface Source
Describes the basic configuration of a network interface. This definition is currently limited to just one address per family.
Represents an IPv4 address (e.g. 172.23.21.1
, 127.0.0.1
)
Represents an IPv6 address (e.g. 2001:db8:85a3::8a2e:370:7334
, ::1
)