• 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
NSHost and the IP addresses ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSHost and the IP addresses ...


  • Subject: NSHost and the IP addresses ...
  • From: Guido Neitzer <email@hidden>
  • Date: Thu, 27 Jun 2002 11:47:09 +0200 (Europe/Berlin)

Hi.

I have a problem with NSHost. On one machine in our network the method:

[[NSHost currentHost] addresses];

always returns 127.0.0.1 - but the box HAS a fixed IP. So, what is the best way to get the IP-Address of the box? I need it to create a port command for an ftp-client.


cug
_______________________________________________
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: Quartz/memory benchmarks...
  • Next by Date: Re: NSHost and the IP addresses ...
  • Previous by thread: Re: NSOutlineView init problem
  • Next by thread: Re: NSHost and the IP addresses ...
  • Index(es):
    • Date
    • Thread