S.SOCKETval string_of_sockaddr : sockaddr -> stringval create : unit -> tcreate () creates an unbound hypervisorsocket
to_fd t returns the wrapped file descriptor. Note this only supports blocking I/O
val listen : t -> int -> unitlisten t queue
connect ?timeout_ms t sockaddr connects to a remote partition
val read : t -> Cstruct.t -> int Lwt.tread t buf reads as many bytes as available into buf returning the number of bytes read.
val write : t -> Cstruct.t -> int Lwt.twrite t buf writes as many bytes from buf to t as will currently fit inside t's internal buffer, and return the number of bytes written
val close : t -> unit Lwt.tclose t closes a socket
val shutdown_read : t -> unit Lwt.tshutdown_read t closes the read side of the socket
val shutdown_write : t -> unit Lwt.tshutdown_write t closes the write side of the socket