RE: Get Ip Addresses
RE: Get Ip Addresses
- Subject: RE: Get Ip Addresses
- From: "Chris Reed" <email@hidden>
- Date: Mon, 5 Jan 2004 14:37:51 -0600
- Thread-topic: Get Ip Addresses
Take a look at the SystemConfiguration.framework and the MoreSCF sample
code written by Quinn on Apple's developer site. These are OS X only
APIs, though, so if you need portable code you will have to use the BSD
API instead. (It's not nearly as easy to work with, imho.)
Also, what do you mean by "a few implementations" and "could not seem to
be able to use them"? That's not very helpful...
-chris
>
-----Original Message-----
>
From: email@hidden [mailto:cocoa-dev-
>
email@hidden] On Behalf Of Allen Thomas
>
Sent: Monday, January 05, 2004 2:12 PM
>
To: email@hidden
>
Subject: Get Ip Addresses
>
>
Can someone help me. I am trying to develop a class in Objective C
>
that would be able to retrieve the network addresses for all the
>
interfaces currently connected. Much like ifconfig does on the
>
console. I have looked at a few implementations and could not seem to
>
be able to use them in my xcode project correctly. Any help would be
>
great.
>
>
Allen Thomas
>
_______________________________________________
>
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.