Re: IP of a connected Mac
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.