package eio

  1. Overview
  2. Docs
type t
type tag
val listen : t -> reuse_addr:bool -> reuse_port:bool -> backlog:int -> sw:Switch.t -> Sockaddr.stream -> tag listening_socket_ty Std.r
val datagram_socket : t -> reuse_addr:bool -> reuse_port:bool -> sw:Switch.t -> [ Sockaddr.datagram | `UdpV4 | `UdpV6 ] -> tag datagram_socket_ty Std.r
val getaddrinfo : t -> service:string -> string -> Sockaddr.t list
val getnameinfo : t -> Sockaddr.t -> string * string
OCaml

Innovation. Community. Security.