Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Ocsigen_lib.Ip_address

module Ip_address : sig..end

type t =  | IPv4 of int32 | IPv6 of int64 * int64
val parse : string -> t * t option
val match_ip : 
  t * t option ->
  t -> bool
val network_of_ip : 
  t ->
  int32 -> int64 * int64 -> t
exception No_such_host
val inet6_addr_loopback : t
val get_inet_addr : ?v6:bool -> string -> Unix.inet_addr Lwt.t