Module Tcp.Stats
TCP Statistics
type t = {
mutable tcp_listens : int;
mutable tcp_channels : int;
mutable tcp_connects : int;
mutable tcp_timers : int;
mutable total_established : int;
mutable total_passive_connections : int;
mutable total_active_connections : int;
mutable total_timers : int;
}
val pp : Stdlib.Format.formatter -> t -> unit
val incr_listen : unit -> unit
val decr_listen : unit -> unit
val incr_channel : unit -> unit
val decr_channel : unit -> unit
val incr_connect : unit -> unit
val decr_connect : unit -> unit
val incr_timer : unit -> unit
val decr_timer : unit -> unit