Module Conn.IO

type flow
type ic
type oc
exception Timeout
val is_closed : ic -> bool
val write_int64_be : oc -> int64 -> unit Lwt.t
val read_int64_be : ic -> int64 Lwt.t
val flush : oc -> unit Lwt.t
val write : oc -> string -> unit Lwt.t
val read_into_exactly : ic -> bytes -> int -> int -> unit Lwt.t
val write_char : oc -> char -> unit Lwt.t
val read_char : ic -> char Lwt.t
val with_timeout : float -> (unit -> 'a Lwt.t) -> 'a Lwt.t
val time : unit -> float