[SOLVED] Re: Obtain hostnames from IP addresses

1999-03-22 Thread Conrado Badenas
Thank you all! I've fixed the C program. Now I obtain the 7200 names *.uv.es for IP addresses 147.156.*.* in a few minutes and in a file which I can grep, sort, less, atp and lpr. -- Conrado Badenas (Assistant Lecturer) Department of Thermodynamics. University of Valencia c/. Doctor Moliner, 50

Re: Obtain hostnames from IP addresses

1999-03-18 Thread David Wright
Quoting Conrado Badenas ([EMAIL PROTECTED]): > Does anyone know how to obtain hostnames (e.g., skywalker.termol.uv.es) > from IP addresses (e.g., 147.156.6.236). I've written this program: > [...] > int l; > char addr[]="147.156.6.236"; > struct hostent *ph; > >

Obtain hostnames from IP addresses

1999-03-16 Thread Conrado Badenas
Hello! Does anyone know how to obtain hostnames (e.g., skywalker.termol.uv.es) from IP addresses (e.g., 147.156.6.236). I've written this program: #include #include #include #include int main() { int l; char addr[]="147.156.6.236"; struct hostent *ph;