Is there somebody please who can point me to a list of expected values for the connection state of Internet Connect? I’m referring to possible values returned by the statement below:
tell application “Internet Connect”
get the state of the status of PPP configuration “Internal Modem”
A preliminary list I have come up with through trial and error:
0 = Idle (not connected)
1 = Dialing…
2 = Connecting…
3 = Error
4 = Connected (as reported by others)
5 = Disconnecting… (as reported by others)
8 = Connected (on my system)
9 = Disconnecting… (on my system)
10 = Could not connect (on my system)
Strangely, I have seen people mention that a numeric value of 4 means “connected”, while my own machine returns 8 when connected instead.
Also, is the state the same no matter what type of configuration (PPP, AirPort, etc.) or are there significant differences?
There must be some official information somewhere, right?
Thanks for your help,
– Thomas Fruin