package eio

  1. Overview
  2. Docs
method virtual listen : reuse_addr:bool -> reuse_port:bool -> backlog:int -> sw:Eio__core.Switch.t -> Sockaddr.stream -> listening_socket
method virtual connect : sw:Eio__core.Switch.t -> Sockaddr.stream -> stream_socket
method virtual datagram_socket : reuse_addr:bool -> reuse_port:bool -> sw:Eio__core.Switch.t -> [ Sockaddr.datagram | `UdpV4 | `UdpV6 ] -> datagram_socket
method virtual getaddrinfo : service:string -> string -> Sockaddr.t list
method virtual getnameinfo : Sockaddr.t -> string * string
OCaml

Innovation. Community. Security.