• 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: IP of a connected Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IP of a connected Mac


  • Subject: Re: IP of a connected Mac
  • From: Smith Kennedy <email@hidden>
  • Date: Mon, 6 Jan 2003 08:38:31 -0700

This might work:

NSString *myAddress = [[NSHost currentHost] address];

On Friday, January 3, 2003, at 03:19 AM, Arthur VIGAN wrote:

Hi,

how can I get the IP address of the computer with Cocoa when the user is connected to the Internet?

Thanks in advance,

Arthur
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: IP of a connected Mac
      • From: Joshua Graessley <email@hidden>
References: 
 >IP of a connected Mac (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: Re2: Changing "Ethernet adaptor" name
  • Next by Date: Re: IP of a connected Mac
  • Previous by thread: Re: IP of a connected Mac
  • Next by thread: Re: IP of a connected Mac
  • Index(es):
    • Date
    • Thread