package tcpip

  1. Overview
  2. Docs
include Mirage_stack.V6 with module UDP = Udpv6_socket and module TCP = Tcpv6_socket and module IP = Ipv6_socket
type t
val disconnect : t -> unit Lwt.t
module UDP : sig ... end
module TCP : sig ... end
module IP : sig ... end
val udp : t -> UDP.t
val tcp : t -> TCP.t
val ip : t -> IP.t
val listen_udp : t -> port:int -> UDP.callback -> unit
  • deprecated use UDP.listen instead (since mirage-protocols 6.0.0).
val listen_tcp : ?keepalive:Mirage_protocols.Keepalive.t -> t -> port:int -> (TCP.flow -> unit Lwt.t) -> unit
  • deprecated use TCP.listen instead (since mirage-protocols 6.0.0).
val listen : t -> unit Lwt.t
val connect : Udpv6_socket.t -> Tcpv6_socket.t -> t Lwt.t
OCaml

Innovation. Community. Security.