module AF: Cf_socket.AF
The socket address/protocol family module.
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.