Solved

Determining a connection type.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
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 goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

627 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