Solved

Detecting internet connection

Posted on 1999-01-07
1
244 Views
Last Modified: 2013-11-13
 How can I detect a internet connection, like does the ICQ NetDetect agent?
0
Comment
Question by:felipes
1 Comment
 

Accepted Solution

by:
thespis earned 50 total points
ID: 1454576
Use "Winsock1.State" to detect a WinSock connection.  A state request most often returns sckClosed or sckConnected depending on the status of the connection.  Used with an IF statement, you should be able to do what you like.

Terrence
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article will show, step by step, how to integrate R code into a R Sweave document
This video teaches viewers about errors in exception handling.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

932 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

13 Experts available now in Live!

Get 1:1 Help Now