Network Devices (en0, en1, etc.) in an NSPopUpButton
Network Devices (en0, en1, etc.) in an NSPopUpButton
- Subject: Network Devices (en0, en1, etc.) in an NSPopUpButton
- From: email@hidden
- Date: Thu, 27 Nov 2003 09:22:48 -0500
I am writing a GUI wrapper for a command line tool and I need to pass
an interface, such as "en0" or "en1" (the utility uses libpcap).
Consequently I want to fill an NSPopUpButton with all the detected
interfaces. What is the best way to do this? It seems pretty hard to
get the unix interface names, such as "en0" from Carbon calls. Should I
just use a libpcap call? Does anyone have any sample code or other
suggestions.
Thanks in advance,
-Matt
_______________________________________________
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.