benilla-re systems structs docs

WowConnection::ConnectToHost

function · net · host

Address
0x5b6e40 · 107 bytes, up to 0x5b6eaa
Signature
uint8_t __thiscall (WowConnection *this, const char *host, uint16_t port, uint32_t timeoutMs)
Meaning
Stores a host address (dotted, else the first name lookup) and a 16-bit port, then connects
Confidence
verified, proof two
Finding
net/dial#host-dial
Test
net::dial_connect_host

Finding: Host dial in net: dial

WowConnection::ConnectToHost (0x5b6e40, host, port, timeout) stores the host's address at +0x64 and the port's low 16 bits at +0x68 and connects. The address is inet_addr of the host text unless that is 0xffffffff or 0; then it is the first address in the list gethostbyname returns, read as a dword with its first byte lowest.

The derivation is in the doc.

Callers 2

Callees 1

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