package posix-socket
Module Posix_socket.SockaddrInetSource
IPv4 socket address structure.
IPv4 address type (32-bit).
Ctypes representation of in_addr_t.
Ctypes representation of struct in_addr.
The s_addr field containing the IPv4 address.
Abstract sockaddr_in type.
Ctypes structure type.
Address family (always AF_INET).
Port number in network byte order.
IPv4 address.
Convert from sockaddr_storage to sockaddr_in.