package ipaddr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Convert to and from Unix to Ipaddr representations

v5.3.0 - homepage

val to_inet_addr : Ipaddr.t -> Unix.inet_addr

to_inet_addr ip is the Unix.inet_addr equivalent of the IPv4 or IPv6 address ip.

val of_inet_addr : Unix.inet_addr -> Ipaddr.t

of_inet_addr ip is the Ipaddr.t equivalent of the Unix.inet_addr ip.

module V4 : sig ... end
module V6 : sig ... end
OCaml

Innovation. Community. Security.