Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.windows.x Subject: Re: X11R2/SunOS 3.2 + gethostbyname? Message-ID: <292@auspex.UUCP> Date: 23 Oct 88 21:52:26 GMT References: <1574@cayman.COM> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 6 >I tracked it down to what looks like abberhent behavior of gethostbyname() >on Sun's. They seem to return a unsigned long IP address where other machines >return a ptr to the same. (struct hostent *)->h_addr No, Sun's "gethostbyname" returns a pointer to a "struct hostent", just as everybody else's should (and probably does).