package ipaddr

  1. Overview
  2. Docs
A library for manipulation of IP (and MAC) address representations

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ipaddr-5.6.1.tbz
sha256=1e617df8abd45843c823e9be75267d27426cb578661cf25622d50b25ae14a319
sha512=09c37f963d27f697ee17b83f26364002cc2e60516c2199f78cd20663aaf293a1ce4380d728641b4c9b79066dc814c8f9293722a567ce6898261c4e98b34d80c2

doc/ipaddr.unix/Ipaddr_unix/V6/index.html

Module Ipaddr_unix.V6Source

Sourceval to_inet_addr : Ipaddr.V6.t -> Unix.inet_addr

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

Sourceval of_inet_addr_exn : Unix.inet_addr -> Ipaddr.V6.t

of_inet_addr_exn ip is the Ipaddr.t equivalent of the Unix.inet_addr ip IPv6 address. Raises Ipaddr.Parse_error if ip is not a valid representation of an IPv6 address.

Sourceval of_inet_addr : Unix.inet_addr -> Ipaddr.V6.t option

Same as of_inet_addr_exn but returns an option type instead of raising an exception.

OCaml

Innovation. Community. Security.