Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to Detect if a User is Connected by Modem

Keywords:   active modem connection  

Question:

I'm writing a utility to automatically update certain files when a person logs into the network. We will be implementing RAS soon and want to be sure that the update does NOT take place if they are connected via modem. I want to use an "if" statement to see if the user's modem is active (I don't care if it is RAS, or otherwise type of connection). Any suggestions?

Answer:

We haven't found a real good way to do this. We may have some new functions in our Internet Extender soon, but I'm not sure they would do the job for you.

The best idea so far is to transfer one smallish file and see how long it takes. From that you can guess if you have a network or RAS connection.


Article ID:   W13287
Filename:   Detect if Modem is Active Connection.txt