Get the state of Open Transport
Awhile ago, somebody wanted to get the state of Open Transport (PPP?) without actually opening the connection. This should do that.
tranState = FN GESTALT(_"otan")
I get 31 if no connections are open, and 63 if one or more OT streams are present. However, I think it'll return 31 even if you are online, but have no open connections.