package eio

  1. Overview
  2. Docs

Convert between Eio.Net.Ipaddr and Unix.inet_addr.

Internally, these are actually the same type, so these are just casts.

val to_unix : [< `V4 | `V6 ] Eio.Net.Ipaddr.t -> Unix.inet_addr
OCaml

Innovation. Community. Security.