socket: IP addressing, UDP and TCP connections¶
Data types¶
-
ip4_t
¶ Packed IPv4 address.
-
addr4_t
¶ Packed IPv4 address with port.
-
ip6_t
¶ Packed IPv6 address.
-
addr6_t
¶ Packed IPv6 address with port.
-
socket_t
¶ Container for any IPv4 or IPv6 socket.
API¶
-
socket_free4
¶ Alias for
socket_free()
.
-
socket_free6
¶ Alias for
socket_free()
.
-
isip4mapped
(ip)¶ Macro to check if a given packed IP address is an IPv6 mapped IPv4 address.