val read : socket -> Bigstringaf.t -> off:int -> len:int -> [ `Eof | `Ok of int ] Lwt.tThe region (off, off + len) is where read bytes can be written to
val writev : socket -> Faraday.bigstring Faraday.iovec list -> [ `Closed | `Ok of int ] Lwt.tval shutdown_send : socket -> unitval shutdown_receive : socket -> unit