benilla-re systems structs docs

s_osTcp

global · os

Address
0x885400 · 4 bytes, up to 0x885403
Type
OsTcp *
Meaning
Holds the OsTcp object, set by the OsTcp start-up and null before it and after the shutdown
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.