var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
function needed to convert hostname to ipaddress
I am writing a program for ping that should support both IPv4 and IPv6 .. i wrote the prog as such the dot ( . ) and colon ( is searched and variation is found out ...
My question is " if a host name is given , how to convert it in to a ip address " .. Is there any function to convert it .. i am working on windows APIs and VC++ ...
check for gethostbyname in msdn