i'm now writing a program to ping a website
]Code:if((he=gethostbyname("www.yahoo.com"))==NULL) { call(); }
and i'm using the code above to get the host ip and then send icmp to with another function().
but once the server is unknown i will need to wait for 16 or 17 seconds before the program continue to call(). anyway that i can minimize the waiting time?
i've post to gd before but since i mention bout this c-coding so i think i did better post here.