benilla-re systems structs docs

ClientConnection::HandleConnect

function · net · orchestration

Address
0x5aaa90 · 35 bytes, up to 0x5aaab2
Signature
uint32_t __thiscall (ClientConnection *this)
Meaning
Completes the connect as RESPONSE_CONNECTED, raises the link flag, calls a hook outside net, then runs 0x537ce0
Confidence
verified, proof one
Finding
net/session#connecting

Finding: Connecting in net: session

Selecting a realm stores its name and looks it up in the realm list; connecting dials the realm's host:port text, port 9090 when the text has none. NetClient::Connect requires state 2, disarms the header cipher and dials in state 5. When the socket connects, the session reports RESPONSE_CONNECTED and enters state 6, the only state in which it sends or dispatches packets; a failed dial reports RESPONSE_FAILED_TO_CONNECT and returns to state 2. A realm name not in the list reports REALM_LIST_REALM_NOT_FOUND.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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