- IPv4 address is 32 bits long. Each byte is 8 bits. Byte is octet.
- IPv6 address is 128 bits long.
Erlang inet module
Stream socket – connection oriented, full duplex (can receive and send data through the socket), packets are delivered in order and unduplicated.
Erlang uses gen_tcp module
Datagram socket – connectionless
Erlang uses gen_udp module