package gluon

  1. Overview
  2. Docs
type 't raw_addr = string
type tcp_addr = [ `v4 | `v6 ] raw_addr
type stream_addr
val get_info : stream_addr -> (stream_addr list, [> `Noop ]) Rio.io_result
val ip : stream_addr -> string
val loopback : tcp_addr
val of_addr_info : Unix.addr_info -> stream_addr option
val of_unix : Unix.sockaddr -> stream_addr
val of_uri : Uri.t -> (stream_addr, [> `Noop ]) Rio.io_result
val parse : string -> (stream_addr, [> `Noop ]) Rio.io_result
val port : stream_addr -> int
val pp : Format.formatter -> stream_addr -> unit
val tcp : tcp_addr -> int -> stream_addr
val to_domain : stream_addr -> Unix.socket_domain
val to_string : tcp_addr -> string
OCaml

Innovation. Community. Security.