package utp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type context
type socket
type error =
  1. | ECONNREFUSED
  2. | ECONNRESET
  3. | ETIMEDOUT
val init : unit -> context
val set_debug : context -> bool -> unit
val create_socket : context -> socket
val connect : socket -> Unix.sockaddr -> unit
val write : socket -> buffer -> int -> int -> int
val close : socket -> unit
val process_udp : context -> Unix.sockaddr -> buffer -> int -> int -> bool
val check_timeouts : context -> unit
val issue_deferred_acks : context -> unit
val get_context : socket -> context
val destroy : context -> unit
OCaml

Innovation. Community. Security.