• 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 address(es)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ip address(es)


  • Subject: Re: ip address(es)
  • From: "Erik M. Buck" <email@hidden>
  • Date: Sun, 24 Feb 2002 15:34:03 -0600

See the NSHost class.
Search on Apples dev site as follows:
http://developer.apple.com/cgi-bin/search.pl?q=ip+address&ie=utf8&oe=utf8&re
strict=(cocoa)

----- Original Message -----
From: "Dustin Mierau" <email@hidden>
To: <email@hidden>
Sent: Sunday, February 24, 2002 2:28 PM
Subject: ip address(es)


> So I feel foolish asking this, but I need to get the local machine's ip
> address(es). I have tried the recommended way in the Stevens book, using
> gethostbyname on the nodename returned by uname(), but gethostbyname
> seems to return NULL, so I am stumped.
>
> If anyone could help me out I would be very in debt to you for the rest
> of my life :(
>
> -dustin
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >ip address(es) (From: Dustin Mierau <email@hidden>)

  • Prev by Date: Re: regex in strings
  • Next by Date: How to get MAC Address
  • Previous by thread: ip address(es)
  • Next by thread: Cocoa, Keychains and Security
  • Index(es):
    • Date
    • Thread