tryResolve

Tries to resolve the address in Kameloso.parser.server to IPs, by leveraging resolveFiber, reacting on the ResolveAttempts it yields to provide feedback to the user.

private
tryResolve
(,
const Flag!"firstConnect" firstConnect
)

Parameters

instance Kameloso

The current Kameloso instance.

firstConnect Flag!"firstConnect"

Whether or not this is the first time we're attempting a connection.

Return Value

Type: auto

Next.continue_ if resolution succeeded, Next.returnFailure if it failed and the program should exit.