Webs_listenerSocket connection listeners.
type t = [ | `Host of string * intBind a socket on given hostname and port.
*)| `Sockaddr of Unix.sockaddrBind a socket on given address.
*)| `Fd of Unix.file_descrListen on that socket, the client is responsible for closing it.
*) ]The type for specifying listeners.
val localhost_8000 : tlocalhost_8000 is `Host ("localhost", 8000).
val to_fd : t -> (Unix.file_descr * bool, string) Stdlib.resultto_fd l is Ok (fd, close) with fd a file descriptor for the listener l and close is true if the client is in charge of closing it. Unless l was `Fd, fd has close on exec set to true.
val of_string : default_port:int -> string -> (t, string) Stdlib.resultof_string s parses a listener specification from s. The format is ADDR[:PORT] or PATH for a Unix domain socket. default_port is used if no port is specified.
val pp : Stdlib.Format.formatter -> t -> unitpp formats listeners for inspection.