Solved

Internet Connection

Posted on 1998-08-19
7
339 Views
Last Modified: 2010-08-05
How can I detect the Internet Connection(modem, T1, etc.) in Delphi 3.0?
0
Comment
Question by:fh1
  • 3
  • 2
  • 2
7 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1337271
fh 1,

look at freeware RasDial application which does all that                             Include full source code. Download from http://www.rtfm.be/fpiette/indexuk.htm.

Regards, Zif.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1337272
Hi,

The RASEnumConnections API can list available connections. I think this is the best way!

Or you can also do a ping. If result=true then your connected.

Regards, Zif.
0
 

Author Comment

by:fh1
ID: 1337273
Hi ZifNab,
Could you give me a working example of RASEnumConnections function(declaring types and variables) in delphi 3.0?
Thanks
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 1

Accepted Solution

by:
venks earned 50 total points
ID: 1337274
Dear fh1
You can use Rasdial and  TFnugryRASNotify components to do all the needful for connecting and detecting connection to internet.They are both available at Torry's delphi pages under communication.They both come with demo programs and the help file is self explanatory.
If you give me your e mail address I will send you both the components
Venks
0
 
LVL 1

Expert Comment

by:venks
ID: 1337275
Dear fh1
You can use Rasdial and  TFnugryRASNotify components to do all the needful for connecting and detecting connection to internet.They are both available at Torry's delphi pages under communication.They both come with demo programs and the help file is self explanatory.
If you give me your e mail address I will send you both the components
Venks
0
 

Author Comment

by:fh1
ID: 1337276
Dear Venks
This is my email: fh@stanleyassoc.com
0
 
LVL 1

Expert Comment

by:venks
ID: 1337277
Dear fh1
I have already sent the components
venks
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

19 Experts available now in Live!

Get 1:1 Help Now