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

internet connect problems


  • Subject: internet connect problems
  • From: Devon E Bowen <email@hidden>
  • Date: Fri, 18 Jun 2004 06:48:58 -0400 (EDT)

A user may select to have their Mac auto-dial and connect to the
internet whenever necessary. When I simply try to open a socket
to a remote host, I have noticed the kernel does see this attempt
and does dial the phone to establish a connection. Perfect.

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. So what is
the right way to do host translation such that the kernel will
really dial the phone whenever necessary?

Thanks.

Devon
_______________________________________________
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.


  • Follow-Ups:
    • Re: internet connect problems
      • From: Yann Bizeul <email@hidden>
  • Prev by Date: Re: Scrolling List of Thumbnails?
  • Next by Date: Decorating Images
  • Previous by thread: Re: Open ichat from addressbook...
  • Next by thread: Re: internet connect problems
  • Index(es):
    • Date
    • Thread