[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Dial Up Networking

Posted on 1999-01-27
7
Medium Priority
?
132 Views
Last Modified: 2010-04-06
I have an app that I have scheduled to run each monrning at 6am.  It does a few puts and gets to my FTP sites.  The problem is I run it from a machine that uses DUN to connect.

The machine is connected often, but sometimes during the night the connection drops.  I could use something like dunce, but I would rather do it myself.
I basically want to test to see if it is connected, and if it is not - then go ahead and connect.

Any suggestions on the best way to do this would be appreciated.
0
Comment
Question by:regsoft
  • 4
  • 3
7 Comments
 
LVL 13

Expert Comment

by:Epsylon
ID: 1363566
Write something that does a ping to the ISP's IP address ever x minutes. No response means the connection is lost...
0
 

Author Comment

by:regsoft
ID: 1363567
I figured out the ping part already - but how do you launch DUN and have it automagically dial?
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 1363568
When you do a request for an ip address outside your LAN the dialer will automatically dial-in and connect. No code is involved here...
Just configure the dailer so that it does not prompt to use dial-up networking.

But don't ping when you don't need a connection because this would trigger the dialer.

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:regsoft
ID: 1363569
I obtained a registry patch from the below URL
http://www.annoyances.org/win95

It allows the dialer to connect anytime anytype of outside network is contacted.

Thanks
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 1363570
That is exactly what I said before.
Try somehing else: Download Dunce at http://www.vecdev.com/dunce.html
0
 
LVL 13

Accepted Solution

by:
Epsylon earned 200 total points
ID: 1363571
I Still want the points!
0
 

Author Comment

by:regsoft
ID: 1363572
Thanks for the help.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Screencast - Getting to Know the Pipeline
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month18 days, 18 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question