Calistoga Posted October 8, 2009 Posted October 8, 2009 Hi, I am working on a small script that needs to compare the external IP (_GetIP()) with the IP of a domain. Let's say i need to get the IP of http://example.server.com, does anyone of you know how to go about that? I was unable to find anything in the help file, or on this forum (I usually do ).
99ojo Posted October 8, 2009 Posted October 8, 2009 Hi,I am working on a small script that needs to compare the external IP (_GetIP()) with the IP of a domain.Let's say i need to get the IP of http://example.server.com, does anyone of you know how to go about that?I was unable to find anything in the help file, or on this forum (I usually do ).Hi,quite simple:TCPStartUp ()TCPNameToIP ("example.server.com"); see help for return valueTCPShutdown ( );-))Stefan
Calistoga Posted October 8, 2009 Author Posted October 8, 2009 Thank you! I overlooked that function completely!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now