Mimic_happy_eyeballs
module type S = sig ... end
module Make
(Stack : Tcpip.Stack.V4V6)
(Happy_eyeballs :
Happy_eyeballs_mirage.S
with type flow = Stack.TCP.flow
and type stack = Stack.t)
(_ :
Dns_client_mirage.S
with type happy_eyeballs = Happy_eyeballs.t
and type Transport.stack = Stack.t * Happy_eyeballs.t) :
sig ... end
The functor used by the MirageOS to prepare the Mimic.ctx
from an already allocated happy_eyeballs
resource which is able to allocate a TCP/IP connection from a destination regardless the target chosen by the user.