package mirage-stack-lwt

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type error
val pp_error : error Fmt.t
type buffer = buffer
type ipaddr = ipv4addr
type ipinput
type 'a io = 'a io
type t = udpv4
val disconnect : t -> unit io
type callback = src:ipaddr -> dst:ipaddr -> src_port:int -> buffer -> unit io
val input : listeners:(dst_port:int -> callback option) -> t -> ipinput
val write : ?src_port:int -> ?ttl:int -> dst:ipaddr -> dst_port:int -> t -> buffer -> (unit, error) Stdlib.result io
OCaml

Innovation. Community. Security.