package fuseau-lwt

  1. Overview
  2. Docs

Module Net.TCP_serverSource

The Lwt TCP server

Sourceval establish : ?backlog:int -> ?no_close:bool -> Unix.sockaddr -> (Unix.sockaddr -> Iostream.In.t -> Iostream.Out.t -> unit) -> t

Establish a server, where each connection spawns a new fiber that uses Fuseau's Iostreams.

Sourceval shutdown : t -> unit
OCaml

Innovation. Community. Security.