Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Dial Up Networking

Posted on 1999-01-27
Medium Priority
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.
Question by:regsoft
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 13

Expert Comment

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

Author Comment

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

Expert Comment

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.

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 1363569
I obtained a registry patch from the below URL

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

LVL 13

Expert Comment

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

Accepted Solution

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

Author Comment

ID: 1363572
Thanks for the help.

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 I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

618 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