package tcpip
Module Tcp_socketSource
Source
val pp_write_error :
Format.formatter ->
[< `Closed | `Exn of exn | `Refused | `Timeout ] ->
unitSource
val read :
Lwt_unix.file_descr ->
([> `Data of Cstruct.t | `Eof ], [> `Exn of exn ]) result Lwt.tSource
val write :
Lwt_unix.file_descr ->
Cstruct.t ->
(unit, [> `Closed | `Exn of exn ]) result Lwt.tSource
val writev :
Lwt_unix.file_descr ->
Cstruct.t list ->
(unit, [> `Closed | `Exn of exn ]) result Lwt.tSource
val write_nodelay :
Lwt_unix.file_descr ->
Cstruct.t ->
(unit, [> `Closed | `Exn of exn ]) result Lwt.tSource
val writev_nodelay :
Lwt_unix.file_descr ->
Cstruct.t list ->
(unit, [> `Closed | `Exn of exn ]) result Lwt.t