package lwt

  1. Overview
  2. Docs

Versioned variants of APIs undergoing breaking changes.

val bind_1 : file_descr -> sockaddr -> unit

Alias for the current Lwt_unix.bind.

  • since 2.7.0
val bind_2 : file_descr -> sockaddr -> unit Lwt.t

Like Lwt_unix.bind, but evaluates to an Lwt thread, in order to avoid blocking the process in case the given socket is a Unix domain socket.

  • since 2.7.0
OCaml

Innovation. Community. Security.