package tcpip

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tcpip-9.0.0.tbz
sha256=59377ed359080d8da94aec91474a533bad955c12be79827bec853ccb496d659a
sha512=3f2ed5cbd5bdcd9a664e9ee0b7dbfc65b0a698e6c4bb77ee6a85a139b18cdee24415d76fb821466a9aff2e390318a8657b83871768c259557f25684ab6ccf83b

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 shutdown : Lwt_unix.file_descr -> [< `read | `read_write | `write ] -> unit Lwt.t
Sourceval input : 'a -> src:'b -> dst:'c -> 'd -> unit Lwt.t
OCaml

Innovation. Community. Security.