Posix_socket.SockaddrInetIPv4 socket address structure.
val in_addr_t : in_addr Ctypes.typCtypes representation of in_addr_t.
val in_addr : in_addr Ctypes.structure Ctypes.typCtypes representation of struct in_addr.
The s_addr field containing the IPv4 address.
val t : t Ctypes.structure Ctypes.typCtypes structure type.
val sin_family : (sa_family_t, t Ctypes.structure) Ctypes.fieldAddress family (always AF_INET).
val from_sockaddr_storage :
sockaddr_storage Ctypes.ptr ->
t Ctypes.structure Ctypes.ptrConvert from sockaddr_storage to sockaddr_in.