package b0
Software construction and deployment kit
Install
dune-project
Dependency
Authors
Maintainers
Sources
b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0
doc/b0.std/B0_std/Os/Socket/index.html
Module Os.Socket
Source
Socket operations.
Source
val of_endpoint :
Endpoint.t ->
Unix.socket_type ->
(Unix.sockaddr option * Unix.file_descr * bool, string) result
socket_of_endpoint e st
is Ok (addr, fd, close)
with:
addr
, the address for the socket, if any.fd
, the file descriptor for the socket. Ifc
is`Fd fd
this isfd
untouched. Otherwisefd
is a new file descriptor set to non-blocking mode and has close on exec set totrue
.close
istrue
if the caller is in charge of closing it. This isfalse
iffc
is`Fd _
.
pp_sockaddr
formats a socket address.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>