tcpip.tcpv4-socket
Tcp_socket
tcpip
tcpip.checksum
tcpip.icmpv4
tcpip.icmpv4-socket
tcpip.ipv4
tcpip.ipv6
tcpip.stack-direct
tcpip.stack-socket
tcpip.tcp
tcpip.tcp_socket_options
tcpip.tcpv4v6-socket
tcpip.tcpv6-socket
tcpip.udp
tcpip.udpv4-socket
tcpip.udpv4v6-socket
tcpip.udpv6-socket
type error = [
| Tcpip.Tcp.error
| `Exn of exn
]
type write_error = [
| Tcpip.Tcp.write_error
val pp_error : Format.formatter -> [< `Exn of exn | `Refused | `Timeout ] -> unit
val pp_write_error : Format.formatter -> [< `Closed | `Exn of exn | `Refused | `Timeout ] -> unit
val ignore_canceled : exn -> unit Lwt.t
val disconnect : 'a -> unit Lwt.t
val read : Lwt_unix.file_descr -> ([> `Data of Cstruct.t | `Eof ], [> `Exn of exn ]) result Lwt.t
val write : Lwt_unix.file_descr -> Cstruct.t -> (unit, [> `Closed | `Exn of exn ]) result Lwt.t
val writev : Lwt_unix.file_descr -> Cstruct.t list -> (unit, [> `Closed | `Exn of exn ]) result Lwt.t
val write_nodelay : Lwt_unix.file_descr -> Cstruct.t -> (unit, [> `Closed | `Exn of exn ]) result Lwt.t
val writev_nodelay : Lwt_unix.file_descr -> Cstruct.t list -> (unit, [> `Closed | `Exn of exn ]) result Lwt.t
val close : Lwt_unix.file_descr -> unit Lwt.t
val input : 'a -> src:'b -> dst:'c -> 'd -> unit Lwt.t