benilla-re systems structs docs

RequestHostResolve

function · os · orchestration

Address
0x43f5c0 · 41 bytes, up to 0x43f5e8
Signature
uint32_t __fastcall (const char *host, uint32_t port, void *callback, void *user)
Meaning
Starts resolving a host text on a thread through the OsTcp object; returns 0 while there is none
Confidence
verified, proof two
Finding
net/dial#logon-dial-start

Finding: Logon dial start in net: dial

ClientLink::Connect acts only when the link's state +0x80 is 0, and sets state 1 first. 0x43f5c0 returns 0 and starts nothing while the OsTcp object is null. 0x43c230 returns 0 for a null host or callback, with error 0x57, or when the thread cannot start. Otherwise it copies the text, gives the request an id that is not 0 and not another live request's, starts the thread, waits until the thread has read its parameters and returns 1. Fault: when the allocation of the 52-byte request returns null, 0x43c230 stores the host copy's pointer through the null (0x43c2bf).

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.