|
-
March 28th, 1999, 10:12 PM
#1
Close internet connection - How?
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
-
April 2nd, 1999, 09:03 AM
#2
Re: Close internet connection - How?
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|