Re: gethostname (Quinn)
Re: gethostname (Quinn)
- Subject: Re: gethostname (Quinn)
- From: Quick David L KPWA <email@hidden>
- Date: Mon, 24 May 2004 09:00:56 -0700
Sorry I keep forgetting about the archives with these lists.
In any case this is an application that is being used on a limited access
net that does not use DHCP. The code worked in my lab but not on my laptop
when I was connected to the regular DHCP network. The info you provided
gave me a work around (Disconnect from the DHCP net, turn off AirPort). This
application has been around for 30 years in some form or another on various
unix platforms. We want to keep it as generic as possible (no platform
specific APIs) and limit changes since it works very well for it's purposes.
In a situation where I control the hostname and ipaddress assignment the
gethostname, gethostbyname construct works well enough.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.