• 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
Re: internet connect problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: internet connect problems


  • Subject: Re: internet connect problems
  • From: Yann Bizeul <email@hidden>
  • Date: Fri, 18 Jun 2004 19:50:07 +0200

> However, when I use gethostbyname() to try to convert a hostname
> to an IP address, this does not happen. If the machine isn't
> connected now, it returns immediately with an error.
It seems normal to me, since if the connection is not established,
there are chances no DNS are configured yet. Most network
configurations get their DNS dynamically, that's the case for PPP or
DHCP.

Ugly solution : send a packet to an unknown network to force connection
to establish

--
Yann Bizeul - yann at tynsoe.org
http://projects.tynsoe.org/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >internet connect problems (From: Devon E Bowen <email@hidden>)

  • Prev by Date: Re: How to tell if on main thread
  • Next by Date: [NSWindow invalidateShadow] dosen't works?
  • Previous by thread: internet connect problems
  • Next by thread: Decorating Images
  • Index(es):
    • Date
    • Thread