• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OT? gethostbyname failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OT? gethostbyname failure


  • Subject: OT? gethostbyname failure
  • From: email@hidden
  • Date: Sat, 16 Feb 2008 22:22:08 +0100

hi,

sorry to bother this list if this post is OT
(if there is a more appropriate one please let me know :-)

the thing is we use the function:

hostent *myhostent=gethostbyname(p);

p being a normal pointer to a name like 'www.apple.com'

and this one fails lately on 10.4 intel mac-minis
we experience this because we run tests
at the startup of the program, one of them
being the test if the machine's ip-address can
be resolved by its own name

the funny thing is that when it fails, a normal
'dig' on the same name, resolves normally

usually we try to startup our app again and 
the second time all works ok, but we still have
the problem reoccurring during nightly reboots

is there a known issue about 'gethostbyname'?

--
met vriendelijke groeten
perry winkel

http://www.perry7.nl
http://www.myspace.com/dehufters


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: OT? gethostbyname failure
      • From: Louis Demers <email@hidden>
    • Re: OT? gethostbyname failure
      • From: Bill Royds <email@hidden>
  • Prev by Date: Re: Env variables dropped in 3.0
  • Next by Date: Re: OT? gethostbyname failure
  • Previous by thread: Re: XCode 3.0 Editor Replaces Backslashes with Double Backslashes
  • Next by thread: Re: OT? gethostbyname failure
  • Index(es):
    • Date
    • Thread