The
Represents an address of a TCP socket.
It is a tuple as explained in
See
As returned by open/1,2.
Associates a UDP port number (
The available options are:
Received
Received
If the host has several network interfaces, this option specifies which one to use.
If a socket has somehow been opened without using
Set up the socket for IPv6.
Set up the socket for IPv4.
See
The returned socket
{udp, Socket, IP, InPortNo, Packet}
Note that arriving UDP packets that are longer than the receive buffer option specifies, might be truncated without warning.
Default value for the receive buffer option is
If
Sends a packet to the specified address and port.
The
This function receives a packet from a socket in passive mode.
The optional
Assigns a new controlling process
Closes a UDP socket.