package tcpip

  1. Overview
  2. Docs
OCaml TCP/IP networking stack, used in MirageOS

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tcpip-8.0.0.tbz
sha256=36b4c156be16702ba4c6d781a2da8ba1462b22370d15570e1116056cbf025233
sha512=56a1aab616349152beff7d0a504db15dc3d0010cb36322ce06b7abb43bd9d1a6ec0daa23fd6632fcc758c89737ba48046bb591d4a70021e273b80e716b55c44f

doc/tcpip.tcpv4v6-socket/Tcp_socket/index.html

Module Tcp_socketSource

Sourcetype error = [
  1. | Tcpip.Tcp.error
  2. | `Exn of exn
]
Sourcetype write_error = [
  1. | Tcpip.Tcp.write_error
  2. | `Exn of exn
]
Sourceval pp_error : Format.formatter -> [< `Exn of exn | `Refused | `Timeout ] -> unit
Sourceval pp_write_error : Format.formatter -> [< `Closed | `Exn of exn | `Refused | `Timeout ] -> unit
Sourceval ignore_canceled : exn -> unit Lwt.t
Sourceval disconnect : 'a -> unit Lwt.t
Sourceval read : Lwt_unix.file_descr -> ([> `Data of Cstruct.t | `Eof ], [> `Exn of exn ]) result Lwt.t
Sourceval write : Lwt_unix.file_descr -> Cstruct.t -> (unit, [> `Closed | `Exn of exn ]) result Lwt.t
Sourceval writev : Lwt_unix.file_descr -> Cstruct.t list -> (unit, [> `Closed | `Exn of exn ]) result Lwt.t
Sourceval write_nodelay : Lwt_unix.file_descr -> Cstruct.t -> (unit, [> `Closed | `Exn of exn ]) result Lwt.t
Sourceval writev_nodelay : Lwt_unix.file_descr -> Cstruct.t list -> (unit, [> `Closed | `Exn of exn ]) result Lwt.t
Sourceval close : Lwt_unix.file_descr -> unit Lwt.t
Sourceval input : 'a -> src:'b -> dst:'c -> 'd -> unit Lwt.t
OCaml

Innovation. Community. Security.