package tcpip

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.