Click to See Complete Forum and Search --> : Close internet connection - How?


Mark
March 28th, 1999, 09:12 PM
I'm writing a java app that downloads more than a few html files for me. When I create the URL my PC (Win95) automatically establishes it's dialup connection.


My question is... how do I tell the app to disconnect when the app has finished getting my files?


Mark

Zafir Anjum
April 2nd, 1999, 08:03 AM
I don't believe you can disconnect from within the Java app. Win95 makes it appear as if the computer is always connected.

1. You could either configure Win95 so that you have to connect manually
2. Use JNI to get Win95 to hang up the modem connection.
3. Use an internet service provider that disconnects you after a very short period on inactivity. Most will.
4. Use some kind of utility that will disconnect from your end after the period of inactivity. Try searching for such a utility on http://www.softseek.com and http://www.winfiles.com