Calistoga Posted October 8, 2009 Share 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 ). Link to comment Share on other sites More sharing options...
99ojo Posted October 8, 2009 Share 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 Link to comment Share on other sites More sharing options...
Calistoga Posted October 8, 2009 Author Share Posted October 8, 2009 Thank you! I overlooked that function completely! Link to comment Share on other sites More sharing options...
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