Solved

Determining a connection type.

Posted on 2002-05-17
1
206 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Implementing a ResolveEventHandler in C++ 13 131
basic hardware to learn oop advanced design patterns 3 95
Unresolved External Symbols 3 80
Issues with C++ Class 19 92
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

816 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

12 Experts available now in Live!

Get 1:1 Help Now