package tcpip

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tcpip-v6.4.0.tbz
sha256=6e32bf540d291e9b7325cb3dd00df2f695533e009c46ea534d5518b9492c7348
sha512=2e9f9ca2eeac637599eb48e087b4632598539f1c76f9251758995c7eedeb723f8b951d557a2a53b85a58d50a04e68e15598581f88fca8997733e800fcfca422b

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

Module Tcp_socketSource

Sourcetype error = [
  1. | Mirage_protocols.Tcp.error
  2. | `Exn of exn
]
Sourcetype write_error = [
  1. | Mirage_protocols.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.