<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Tor",
  "identifier" : "/documentation/Tor/TorState/starting",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Tor"
    ],
    "preciseIdentifier" : "s:3Tor0A5StateO8startingyA2CmF"
  },
  "title" : "TorState.starting"
}
-->

# TorState.starting

Transient state between [`start()`](/documentation/Tor/TorClient/start()) invocation and the
control socket becoming reachable.

```
case starting
```

## Discussion

`tor_run_main()` has been posted to its dedicated background thread
and is doing the synchronous startup work (option parsing, data
directory bootstrap, control socket bind). Duration is typically
sub-second on warm caches. Bootstrap progress is **not** yet being
reported — those events begin arriving once `.running` is reached.