Determining a connection type.

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.

Who is Participating?
jkrConnect With a Mentor Commented:
'InternetGetConnectedState()' can do that - however, it is not able to detect a VPN connection. See;EN-US;q242558 ("HOWTO: Detecting If You Have a Connection to the Internet (Q242558)")
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.