Solved

Determining a connection type.

Posted on 2002-05-17
1
208 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
[X]
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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

734 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