resolve

Tries to resolve the address in Kameloso.parser.server to IPs, by leveraging delegateResolve, passing it delegates to call to provide feedback to the user.

private
resolve
(,
const bool firstConnect
)

Parameters

instance Kameloso

The current Kameloso instance.

firstConnect bool

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.