package gapi-ocaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A simple OCaml client for Google Services
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.4.8.tar.gz
sha256=5cc769af46198deb88707ccb50398088316e60f51db8c36389e6a2aae4c2ad30
md5=d918a22fde1b1d49a9783fb2f932d059
doc/gapi-ocaml.netstring-local/Netsockaddr/index.html
Module NetsockaddrSource
Parsing of socket addresses
Symbolic socket names:
`Inet(ip,port): An internet socket with IPipand the givenport`Inet_byname(n,port): An internet socket with the IP resulting from the resolution of the namen, and with the givenport`Unix p: A Unix Domain socket with the pathp
Use Uq_resolver.sockaddr_of_socksymbol to convert to a Unix.sockaddr (and resolve names).
Parses designations of the forms:
<IPv4>:port[<IPv4_or_IPv6]:port<name>:port/path./path
Raises Failure on parse error.
The reverse function
Normalizes numeric IP addresses: if the address is an IPv4 address mapped to the IPv6 address space, the real IPv4 address is returned. This also works for numeric addresses in string form, whose writing is also normalized.
E.g.
norm_socksymbol (`Inet_by_name("::ffff:127.0.0.1", 80))returns`Inet_by_name("127.0.0.1",80)norm_socksymbol (`Inet_by_name("0::1",80))returns`Inet_by_name("::1", 80)
IPv6-ification of numeric IP addresses: IPv4 addresses are mapped to the IPv6 address space. This also works for numeric addresses in string form, whose writing is also normalized.
E.g.
norm_socksymbol (`Inet_by_name("127.0.0.1", 80))returns`Inet_by_name("::ffff:127.0.0.1",80)norm_socksymbol (`Inet_by_name("0::1",80))returns`Inet_by_name("::1", 80)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>