package hvsock
Bindings for Hyper-V AF_VSOCK
Install
Dune Dependency
Authors
Maintainers
Sources
1.0.2.tar.gz
sha256=93e9bba076c30b9a09b96b1a81a7d7fe9361bbcf713980d0a510cae7c65dbfe0
md5=d3ec27d96076075a6d2f949cc8ef3d32
doc/hvsock.lwt/Lwt_hvsock/module-type-HVSOCK/index.html
Module type Lwt_hvsock.HVSOCK
Source
A Hyper-V socket
to_fd t
returns the wrapped file descriptor. Note this only supports blocking I/O
bind t sockaddr
binds socket
to sockaddr
accept t
accepts a single connection
connect ?timeout_ms t sockaddr
connects to a remote partition
read t buf
reads as many bytes as available into buf
returning the number of bytes read.
write 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>