package dns-stub
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
DNS stub resolver
Install
dune-project
Dependency
Authors
Maintainers
Sources
dns-10.2.4.tbz
sha256=d852d15ca2f58db573679bf18688745600b91296e2e54486609869d666f3d12f
sha512=09d3b1cf76bccbff1a0c042922a3e9d6fa3605770d3d9d9aab3462f32d9156c87f6468b531f27dbcc1ce9030c1bd5f3c81c051f5f6a7ee7d802c1fddf1848058
doc/dns-stub.mirage/Dns_stub_mirage/Make/argument-1-S/UDP/index.html
Module S.UDP
type ipaddr = Ipaddr.tThe type for an IP address representations.
Disconnect from the UDP layer. While this might take some time to complete, it can never result in an error.
The type for callback functions that adds the UDP metadata for src and dst IP addresses, the src_port of the connection and the buffer payload of the datagram.
listen t ~port callback executes callback for each packet received on port.
val unlisten : t -> port:int -> unitunlisten t ~port stops any listeners on port.
input t demultiplexes incoming datagrams based on their destination port.
val write :
?src:ipaddr ->
?src_port:int ->
?ttl:int ->
dst:ipaddr ->
dst_port:int ->
t ->
Cstruct.t ->
(unit, error) result Lwt.twrite ~src ~src_port ~ttl ~dst ~dst_port udp data is a task that writes data from an optional src and src_port to a dst and dst_port IP address pair. An optional time-to-live (ttl) is passed through to the IP layer.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>