tcpip

OCaml TCP/IP networking stack, used in MirageOS
Library tcp
Module Tcp . User_buffer . Tx

Parameters

Signature

type t
module TXS : sig ... end
val create : max_size:int32 -> wnd:Window.t -> txq:TXS.t -> t
val available : t -> int32
val wait_for : t -> int32 -> unit Lwt.t
val wait_for_flushed : t -> unit Lwt.t
val write : t -> Cstruct.t list -> unit Lwt.t
val write_nodelay : t -> Cstruct.t list -> unit Lwt.t
val free : t -> int -> unit Lwt.t
val reset : t -> unit Lwt.t