Re: internet connect problems
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.