FB II Compiler

PG PRO

Debugging

Memory

System

Mathematics

Resources

Disk I/O

Windows

Controls

Menus

Mouse

Keyboard

Text

Fonts

Drawing

Sound

Clipboard

Printing

Communication

ASM

Made with FB

COMMUNICATION

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.
Sean