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
Solved

Dial Up Networking

Posted on 1999-01-27
7
126 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

808 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