diff --git a/Home.md b/Home.md index 3f27cbc..51df2ff 100644 --- a/Home.md +++ b/Home.md @@ -1,3 +1,17 @@ + +## Patterns + +### Detecting connectivity + +#### Not-Roadshow/UAE + +All other internet stacks need to be started up. Checking for a lack of bsdsocket.library in memory is an easy start. + +#### Roadshow/UAE + +* Perform a DNS lookup of a known remote hostname. If that fails, your stack is likely not running. +* Perform a single socket connection with a long-ish timeout (5 seconds is likely enough). If that fails, you're likely unconnected from the Internet. + ## Gotchas ### Servers