macro_rules! lookup_then {
    ($context:expr, $addr:expr, $port:expr, |$resolved_addr:ident| $body:block) => { ... };
    (RESOLVE @ $addrs:expr, $resolved_addr:ident, $body:block) => { ... };
}
Expand description

Helper macro for resolving host and then process each addresses