On 02/14/04 [EMAIL PROTECTED] wrote:
> #include <stdio.h>
> #include <netdb.h>
>
> int main(void)
> {
> struct hostent * h;
>
> h = gethostbyname("www.redhat.com");
>
> herror("ERROR FOUND: ");
>
> printf("name = %s\n", h->h_name);
> printf("addrtype = %i\n", h->h_addrtype);
> printf("length = %i\n", h->h_length);
> printf("addr = %s\n", h->h_addr_list[0]);
>
> return 0;
> }What's the output of this program ? Marius -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better.
pgp00000.pgp
Description: PGP signature
