Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: calista_heart@yahoo.com (Calista)
Subject: Re: gethostbyname returns only single IP address
Date: 23 Apr 2004 06:15:36 -0700	[thread overview]
Message-ID: <5d1678ff.0404230515.4b0036b4@posting.google.com> (raw)
In-Reply-To: 2as96c.7gf.ln@dadsys2.fuller.local

Here is some more info if you need.

This is the function prototype

getipaddresses( char *hostname, char **p_ipaddress, int length )

All memories are properly malloced. length is the maximum length 
for an IP address. I use this so that I don't go out of bounds.

I think the function is doing what it is supposed to. Nothing wrong with it.
The problem might be in the configuration options for the multi homed machine.

Thanks.
Calista.


  parent reply	other threads:[~2004-04-23 13:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22 15:43 gethostbyname returns only single IP address Calista
2004-04-23  1:42 ` Stuart Fuller
2004-04-23 13:04   ` Calista
2004-04-24  1:32     ` Peter da Silva
2004-04-26 14:05     ` Brian Haley
2004-04-26 20:54       ` Calista
2004-04-26 22:51         ` Brian Haley
2004-04-27 16:54           ` Calista
2004-04-27 20:36             ` Brian Haley
2004-05-03  3:15             ` Peter da Silva
2004-04-23 13:15   ` Calista [this message]
2004-04-23 20:43 ` Rick Jones
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox