Solved

Dial Up Networking

Posted on 1999-01-27
7
122 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now