Up

Module Inet_port

Simple int wrapper to be explicit about ports.

Signature

type t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val of_int : int -> t option
val of_int_exn : int -> t
val of_string : string -> t option
val of_string_exn : string -> t
val to_int : t -> int
val to_string : t -> string