module AF: Cf_socket.AF
with
type tag = [ `AF_INET6 ] and
type address = Cf_ip6_addr.opaque Cf_ip6_addr.t * int * int32
The address family module for IPv6 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.