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
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;
>
>
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;
3 matches
Mail list logo