Module Nanoev_picos.Base

val read : Unix.file_descr -> bytes -> int -> int -> int

Read from the non blocking FD.

val write_once : Unix.file_descr -> bytes -> int -> int -> int

Write into the non blocking FD.

val write : Unix.file_descr -> bytes -> int -> int -> unit
val close : Unix.file_descr -> unit

Close the file descriptor

val connect : Unix.file_descr -> Unix.sockaddr -> unit

Connect this FD to the remote address.

Accept a connection on this fd.

val max_fds : unit -> int

Maximum number of file descriptors one can await on. See Nanoev.max_fds

val sleep : float -> unit

Suspend current fiber for n seconds

module Raw : sig ... end