package tcpip

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tcpip-7.1.2.tbz
sha256=96b6aeafa35f143f7275d1becb6d639472adf3680b8180416de765b6581c466d
sha512=3f873c986de5c58df72db2953c6b2a6319963dbbbd0781b55c2878fd1eaa081ebb7cecbee595db7cb3680a6f438904f98cb69ca17e70c7a6d2d1f61277e929bd

doc/tcpip.tcpv4-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.