Solved

Determining a connection type.

Posted on 2002-05-17
1
204 Views
Last Modified: 2010-04-02
I have a client application that runs under WindowsNT, 95, 98, 2000, XP. I need to be able to determine if the client is attempting to connect to the Server over a PPP dialup connection, VPN connection or LAN connection.

I am using MS Visual C++ 6.0.

0
Comment
Question by:dhymes
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 50 total points
ID: 7016587
'InternetGetConnectedState()' can do that - however, it is not able to detect a VPN connection. See http://support.microsoft.com/default.aspx?scid=kb;EN-US;q242558 ("HOWTO: Detecting If You Have a Connection to the Internet (Q242558)")
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

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

708 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

15 Experts available now in Live!

Get 1:1 Help Now