sig
type t = {
name : string;
aliases : string array;
port : int;
proto : string;
}
val getbyname : string -> protocol:string -> Unix.Service.t option
val getbyname_exn : string -> protocol:string -> Unix.Service.t
val getbyport : int -> protocol:string -> Unix.Service.t option
val getbyport_exn : int -> protocol:string -> Unix.Service.t
val t_of_sexp : Sexplib.Sexp.t -> Unix.Service.t
val sexp_of_t : Unix.Service.t -> Sexplib.Sexp.t
end