1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Parameters
module S : Tcpip.Stack.V4V6
Signature
module IPM : sig ... end
IPM
is a map using ip * port
as key.
val of_flow : S.TCP.flow -> f
of_flow flow
is f
.
val flow : f -> S.TCP.flow
flow f
is the underlying flow.
read_tcp f
returns either a buffer or an error (logs actual error).
val send_tcp : S.TCP.flow -> Cstruct.t -> ( unit, unit ) result Lwt.t
send_tcp flow buf
sends the buffer, either succeeds or fails (logs actual error).
val send_tcp_multiple :
S.TCP.flow ->
Cstruct.t list ->
( unit, unit ) result Lwt.t
send_tcp_multiple flow bufs
sends the buffers, either succeeds or fails (logs actual error).