package b0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
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/Endpoint/index.html
Module Socket.EndpointSource
Endpoints.
Source
type t = [ | `Host of string * int(*Hostname and port.
*)| `Sockaddr of Unix.sockaddr(*Given socket address.
*)| `Fd of Unix.file_descr(*Direct file descriptor.
*)
]The type for specifying a socket endpoint to connect or to listen to on.
of_string ~default_port s parses a socket endpoint specification from s. The format is ADDR[:PORT] or PATH for a Unix domain socket (detected by the the presence of a directory separator). default_port port is used if no PORT is specified.
pp formats endpoints.
Source
val wait_connectable :
?socket_type:Unix.socket_type ->
timeout:Mtime.Span.t ->
t ->
([ `Ready | `Timeout ], string) resultwait_connectable ~timeout ep st blocks until fd becomes connectable or duration timeout elapses.
socket_type defines the kind of socket, it defaults to Unix.socket_type.SOCK_STREAM.
Source
val wait_connectable' :
?socket_type:Unix.socket_type ->
timeout:Mtime.Span.t ->
t ->
(unit, string) resultwait_connectable' is like wait_connectable but errors with a message on timeout.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>