Java Rockx wrote:
The correct answer is 85063633
You can find a tool on line for this at
http://www.dnsstuff.com/
Or use your own simple one, like:
#include <stdio.h>
#include <netinet/in.h>
#include <arpa/inet.h>
int main(int argc, char **argv)
{
struct in_addr a;
if(argc != 2)
{
fprintf(stderr, "Usage: %s <ip address>\n", argv[0]);
return -1;
}
if(inet_aton(argv[1], &a) == 0)
{
fprintf(stderr, "Invalid ip address '%s'\n", argv[1]);
return -1;
}
fprintf(stdout, "%d\n", a.s_addr);
return 0;
}