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