The
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.
Same as
If a socket has somehow been opened without using
Set up the socket for IPv6.
Set up the socket for IPv4.
Override which callback module is used. Defaults to
Set the local device for a multicast socket.
When
The
Datagrams with a TTL of 1 are not forwarded beyond the local
network.
Default: 1
Join a multicast group.
Leave multicast group.
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.