From 5a485461a1157fef1bb3ce8426bfd1ad57b5ca52 Mon Sep 17 00:00:00 2001
From: Hans Bolinder
-ip_address()
- see inet(3)
-
-posix()
- see inet(3)
+
+
+
+
+
+
+
+ Represents an address of a TCP socket.
+ It is a tuple as explained in
+ inet(3) .
+
+
+
+
+
+
+
+
+ See
+ inet(3); POSIX Error Codes .
+
+
+
+ socket()
+
+ As returned by open/1,2.
+
+
+
-socket()
- as returned by open/1,2
- Associates a UDP port number (
Associates a UDP port number (
The available options are:
The returned socket
The returned socket
@@ -110,66 +121,42 @@ socket()
binary if the option binary was specified.
Default value for the receive buffer option is
{recbuf, 8192} .
- If Port == 0 , the underlying OS assigns a free UDP
+
If Port == 0 , the underlying OS assigns a free UDP
port, use inet:port/1 to retrieve it.
Sends a packet to the specified address and port.
- The
This function receives a packet from a socket in passive mode.
-The optional
The optional
Assigns a new controlling process
Assigns a new controlling process
Closes a UDP socket.