Luv.Sockaddrmodule Address_family : sig ... endNetwork address families. See socket(2).
module Socket_type : sig ... endSocket types. See socket(2).
Binds struct sockaddr.
The functions in this module automatically take care of converting between network and host byte order.
Converts a string and port number to an IPv4 struct sockaddr.
Binds uv_ip4_addr.
Converts a string and port number to an IPv6 struct sockaddr.
Binds uv_ip4_addr.
val to_string : t -> string optionConverts a network address to a string.
Binds uv_ip4_name and uv_ip6_name. This function is equivalent to uv_ip_name.
val port : t -> int optionExtracts the port in a network address.