net
Module
Module Summary
Since
Description
This module provides an API for the network interface.
There is currently no support for Windows.
Data Types
#{family := socket:domain(),
socktype := socket:type(),
protocol := socket:protocol(),
address := socket:sockaddr()}
Exports
Types
Returns the name of the current host.
OTP 22.0 |
OTP 22.0 |
Types
Address-to-name translation in a protocol-independant manner.
This function is the inverse of getaddrinfo. It converts a socket address to a corresponding host and service.
OTP 22.0 |
OTP 22.0 |
OTP 22.0 |
OTP 22.0 |
Network address and service translation.
This function is the inverse of getnameinfo. It converts host and service to a corresponding socket address.
One of the Host and Service may be undefined but not both.
OTP 22.0 |
Mappings between network interface names and indexes.
OTP 22.0 |
Mappings between network interface index and names.
OTP 22.0 |
Types
Get network interface names and indexes.