Dial Up Networking

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.
regsoftAsked:
Who is Participating?
 
EpsylonConnect With a Mentor Commented:
I Still want the points!
0
 
EpsylonCommented:
Write something that does a ping to the ISP's IP address ever x minutes. No response means the connection is lost...
0
 
regsoftAuthor Commented:
I figured out the ping part already - but how do you launch DUN and have it automagically dial?
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
EpsylonCommented:
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
 
regsoftAuthor Commented:
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
 
EpsylonCommented:
That is exactly what I said before.
Try somehing else: Download Dunce at http://www.vecdev.com/dunce.html
0
 
regsoftAuthor Commented:
Thanks for the help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.