package tcpip

  1. Overview
  2. Docs
include Mirage_stack.V4 with module UDPV4 = Udpv4_socket and module TCPV4 = Tcpv4_socket and module IPV4 = Ipv4_socket
type t
val disconnect : t -> unit Lwt.t
module UDPV4 : sig ... end
module TCPV4 : sig ... end
module IPV4 : sig ... end
val udpv4 : t -> UDPV4.t
val tcpv4 : t -> TCPV4.t
val ipv4 : t -> IPV4.t
val listen_udpv4 : t -> port:int -> UDPV4.callback -> unit
  • deprecated use UDPV4.listen instead (since mirage-protocols 6.0.0).
val listen_tcpv4 : ?keepalive:Mirage_protocols.Keepalive.t -> t -> port:int -> (TCPV4.flow -> unit Lwt.t) -> unit
  • deprecated use TCPV4.listen instead (since mirage-protocols 6.0.0).
val listen : t -> unit Lwt.t
val connect : Udpv4_socket.t -> Tcpv4_socket.t -> t Lwt.t
OCaml

Innovation. Community. Security.