Module Cf_ip4_proto.AF


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

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