WowConnection::SetState
function · net · orchestration
- Address
0x5b72d0· 29 bytes, up to0x5b72ec- Signature
void __thiscall (WowConnection *this, uint32_t state)- Meaning
- Stores a new state and wakes the network engine
- 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 12
- WowConnection::Init net
- WowConnection::Disconnect net
- WowConnection::HandleClose net
- WowConnection::Send net
- WowConnection::SendPair net
- WowConnection::SendRaw net
- WowConnection::CompleteConnect net
- WowConnection::HandleWritable net
- WowConnection::ReadFramedMessages net
- WowConnection::ReadRawData net
- WowConnection::Connect net
- WowConnection::Listen net
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.