Re: ip address(es)
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.