Jump to content

Recommended Posts

Posted

Is there any way I can detect the existence of a particular network connection (set up by Dundial)?

I'm creating a toggle exe: if there's a network connection (VPN) it disconnects, otherwise it connects.

Posted

If the IP address is 127.0.0.1 or 0.0.0.0 then it will connect. Have a look at I think it's called "_GetIP()"

if _GetIP("MyComputer") = 127.0.0.1 or 0.0.0.0 then

TCPConnect()

else

TCPDisconnect()

endif

Something like that

F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
Posted

If the IP address is 127.0.0.1 or 0.0.0.0 then it will connect. Have a look at I think it's called "_GetIP()"

I've had a look at the function list and can't see anything that resembles that.

There's also the problem that the VPN connection is on top of the existing connection, so the computer will have at least two IP addresses when connected via VPN.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...