Jump to content

Detecting network connection


Recommended Posts

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]
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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