benilla-re systems structs docs

WowConnectionNet::PlatformChangeState

function · net · orchestration

Address
0x5bcab0 · 8 bytes, up to 0x5bcab7
Signature
void __thiscall (WowConnectionNet *this, WowConnection *conn, uint32_t oldState)
Meaning
Wakes the select thread
Confidence
inferred
Finding
net/wire#sending

Finding: Sending in net: the wire

NetClient::Send sends only in connection state 6 and only a non-empty packet, and counts its bytes before arming the cipher. WowConnection::Send refuses a packet unless the socket is connected (state 5). With nothing queued it frames the packet on the stack and calls send once; what send does not take, or all of it when other packets wait, goes to a queue the network thread drains. Both WSAEWOULDBLOCK and any other error queue the packet; the other error, or a queue reaching its limit, also sets the connection's state to 7, as closing it does. The send returns 0 when all went out, 1 when part did and 2 when none did.

The derivation is in the doc.

Callers 7

Callees 1

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