module Tcp: sig
.. end
/proc/net/tcp, or what netstat or lsof -i parses.
type
t = {
}
val rest : t -> string
val inode : t -> Procfs.Process.Inode.t
val timeout : t -> int
val uid : t -> int
val retrnsmt : t -> int
val tm_when : t -> int
val tr : t -> int
val rx_queue : t -> int
val tx_queue : t -> int
val state : t -> Procfs.Net.Tcp_state.t
val remote_port : t -> Extended_unix.Inet_port.t option
val remote_address : t -> Core.Std.Unix.Inet_addr.t
val local_port : t -> Extended_unix.Inet_port.t
val local_address : t -> Core.Std.Unix.Inet_addr.t
val sl : t -> int
module Fields: sig
.. end
val of_line : string -> t option
These don't do any IO and should be async-ok
val of_line_exn : string -> t
val load_exn : unit -> t list
This does IO and is not async-ok.