package apero-net
OCaml Networking Library
Install
Dune Dependency
Authors
Maintainers
Sources
0.4.7.tar.gz
sha256=3c4b0e127eeb5b2ead28aa6db14a136d287410a0ab7e01ee442583aae5ca110c
sha512=d971ad34020fd958119d72bc818d0bce315d927b4d40a8848bb8ea47dc81595c9b0a7b2ed25763c2e6e9051bb3d4ef4fd47aa972b2f17fa7145cb06a701ba4dc
doc/apero-net/Net/index.html
Module Net
I/O related functions
val read : Lwt_unix.file_descr -> Abuf.t -> int -> int Lwt.t
read fd buf len
reads at most len
bytes out of the file descriptior fd
in to the buffer buf
at index w_pos buf
. Returns the actual number of bytes read.
val read_all : Lwt_unix.file_descr -> Abuf.t -> int -> int Lwt.t
read fd buf len
reads len
bytes out of the file descriptior fd
in to the buffer buf
at index w_pos buf
. Returns the actual number of bytes read.
val write : Lwt_unix.file_descr -> Abuf.t -> int Lwt.t
write fd buf
writes at most readable_bytes buf
bytes from the buffer buf
at index r_pos buf
to the file descriptor fd
. Returns the number of bytes actually written.
val write_all : Lwt_unix.file_descr -> Abuf.t -> int Lwt.t
write fd buf
writes readable_bytes buf
bytes from the buffer buf
at index r_pos buf
to the file descriptor fd
. Returns the number of bytes actually written.
val read_vle : Lwt_unix.file_descr -> Apero.Vle.t Lwt.t
val write_vle : Lwt_unix.file_descr -> Apero.Vle.t -> int Lwt.t
val safe_close : Lwt_unix.file_descr -> unit Lwt.t
val connect :
Lwt_unix.file_descr ->
Locator.Locator.t ->
Lwt_unix.file_descr Lwt.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>