Module Cf_ip4_proto.AF


module AF: Cf_socket.AF  with
    type tag_t = [ `AF_INET ] and
    type address_t = Cf_ip4_addr.opaque Cf_ip4_addr.t * int
The address family module for IPv4 transports.

type tag_t 
The shadow type
type address_t 
The concrete type of the socket address for the address family.
val domain : tag_t Cf_socket.domain_t
The value of the socket domain identifier.
val to_sockaddr : address_t -> tag_t Cf_socket.sockaddr_t
Use to_sockaddr a to create an abstract socket address value corresponding to the address a.
val of_sockaddr : tag_t Cf_socket.sockaddr_t -> address_t
Use of_sockaddr sa to create an address corresponding to the abstract socket address value sa.
val unspecified : tag_t Cf_socket.sockaddr_t
The unspecified socket address, used for binding to arbitrary local endpoint addresses.