OBJECTIVE C - Get a list of all available network interfaces (en0, en1, en2, etc) with Cocoa?
Translations
Englishالعربية
български
català
中文
čeština
dansk
Nederlands
eesti
suomi
français
Deutsch
Ελληνικά
עברית
हिंदी
magyar
Bahasa Indonesia
italiano
日本語
한국어
latviešu
lietuvių
norsk
polski
Português
română
русский
slovenčina
slovenski
español
svenska
ไทย
Türkçe
українська
Tiếng Việt
In my Cocoa application I want to show the user a list of available network interfaces, like Wireshark does:

What is the best way of getting such a list? Does Apple provide a framework for this, or must I use a C API from the standard library or another library?
This question and answers originated from www.stackoverflow.com
Question by WTP (12/6/2010 3:27:07 PM)
Answer |
Better than wrapping ifconfig you shall check the reference of SCNetworkConfiguration which is part of Core Foundation.
Check SCNetworkInterfaceXxx functions for details.
Answer by Sylvain G.
Find More Answers
Related Topics objective-c cocoa networking