The Creator Posted January 9, 2007 Share Posted January 9, 2007 Hello, Would someone have some code or pointers on converting a fqdn (google.com) to an IP address? Thanks, Link to comment Share on other sites More sharing options...
sneakysmith12 Posted January 9, 2007 Share Posted January 9, 2007 if you mean change the domain name to an ip address sure!there is an awesome javascript thing on the internet, the URL is here. Yeah I'm not the greatest at DarkBasic either, but I'm good enough for a link :D A Thread of a W.I.P. that im making Link to comment Share on other sites More sharing options...
Helge Posted January 9, 2007 Share Posted January 9, 2007 TCPNameToIP Link to comment Share on other sites More sharing options...
The Creator Posted January 9, 2007 Author Share Posted January 9, 2007 TCPNameToIPHello,I've tried TCPNameToIP, but it only works for computer names as far as I can tell.As for the javascript thing, I don't think I can import Javascript into an AutoIt file, so I'm not really sure if that would help.Thanks, Link to comment Share on other sites More sharing options...
Helge Posted January 9, 2007 Share Posted January 9, 2007 Really ? TCPStartup() MsgBox(64, "", TCPNameToIP("www.google.com")) Link to comment Share on other sites More sharing options...
cppman Posted January 9, 2007 Share Posted January 9, 2007 here's a pointer:char * ptr = new char[32];and here is some code to help you:http://msdn2.microsoft.com/en-us/library/ms738524.aspxreturns this structure:http://msdn2.microsoft.com/en-us/library/ms738552.aspx Miva OS Project 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