package hvsock
Bindings for Hyper-V AF_VSOCK
Install
dune-project
Dependency
Authors
Maintainers
Sources
hvsock-3.1.0.tbz
sha256=c3dc439a50b2b83dc584b20726a1311ca52187792613e9cf441c39da51ef7407
sha512=cd631f190c63dabd8151e51715d048c828aa9a8207661a6b06c5b7754de030ebec81f06d6c545afc3b7fc2637466ebe4ac5f205e4cbad672591f79f9c5366242
doc/hvsock.lwt/Hvsock_lwt/Flow/Make/argument-2-Socket_family/index.html
Parameter Make.Socket_family
A low-level socket interface, common to both Windows and Linux kernels
val string_of_sockaddr : sockaddr -> string
val create : unit -> t
create ()
creates an unbound socket
val listen : t -> int -> unit
listen socket queue_length
sets the socket to listening mode with the given maximum queue length
connect ?timeout_ms fd sockaddr
connects to a remote socket. On Windows the raw connect call can block forever if the server is not running when the call is executed (even if the server starts up afterwards) there is a default timeout of 300ms. On timeout this will raise Unix_error(Unix.ETIMEDOUT)
val shutdown_read : t -> unit
Close the read half of the connection
val shutdown_write : t -> unit
Close the write half of the connection
val close : t -> unit
Close both halves of the connection
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>