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