Solved

Dial Up Networking

Posted on 1999-01-27
7
128 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
[X]
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
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 100 total points
ID: 1363571
I Still want the points!
0
 

Author Comment

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

Featured Post

Independent Software Vendors: 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!

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

689 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