Re: cocoa-dev digest, Vol 2 #3061 - 14 msgs
Re: cocoa-dev digest, Vol 2 #3061 - 14 msgs
- Subject: Re: cocoa-dev digest, Vol 2 #3061 - 14 msgs
- From: Ruben Smits <email@hidden>
- Date: Wed, 22 Oct 2003 08:36:11 +0200
Hi,
You should not trust on IP-address. As you said, this number can change
in a network. It seems a better way to use the hostname instead, since
this is a name that's always the same.
HTJ
Ruben Smits
On 21-okt-03, at 23:34, email@hidden wrote:
Message: 3
Date: Tue, 21 Oct 2003 19:53:10 +0200
Subject: + (NSHost*) currentHost?
From: petite_abeille <email@hidden>
To: email@hidden
Hello,
How do people deal with changing local host addresses? For example, a
machine could move around a wireless network and get a new IP address
here and there... would the NSHost instance returned by +currentHost
reflect those changes? Or is it necessary to call +currentHost
repetitively? And short of pooling +currentHost, what would be a
"reasonable" way to know that the local address has changed in the
first place?
Thanks for any insights :)
Cheers,
PA.
_______________________________________________
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.