• 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
Re: cocoa-dev digest, Vol 2 #3061 - 14 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: detecting a double click ahead of time
  • Next by Date: Re: Use of protocols (for DO) crashing gcc3
  • Previous by thread: Re: Use of protocols (for DO) crashing gcc3
  • Next by thread: Loading multiple NIBs == multiple awakeFromNib calls
  • Index(es):
    • Date
    • Thread