site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707) SCNetworkInterfaceCopyAll() will give you an array of available network interfaces SCNetworkInterfaceGetInterfaceType() will tell you what "type" of a given interface SCNetworkInterfaceGetLocalizedDisplayName() will return a string like "Built-in Ethernet" Ah. That's the sort of information I want to get my hands on. -- Andrew White _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Allan Nathanson wrote: If you are looking for information about the interface "type" (Ethernet, FireWire, Bluetooth, ...) than I'll point you towards the <SystemConfiguration/SCNetworkConfiguration.h> APIs. Specifically : Of course, there's many more questions to ask. For example, do you want information about ALL of the available interfaces or just those that have been configured? or just those that are active? or ... We have a relatively low-level multi-process networking service that needs to be tied to a particular interface (or interfaces), and I'm writing a preference pane and other admin stuff to allow the user to configure it. As such, I need to access the list of interfaces, filter them based on which ones are appropriate, and then present the results to the user to select from. SCNetworkInterface seems to be exactly the information I'm looking for. The higher level APIs all assume I'm wanting to manage connections, but I'm actually just concerned with the local interfaces (the service components themselves handle connections, where required). I won't use the 'write' parts of the API, but I need the 'read' parts. :) This email sent to site_archiver@lists.apple.com