Re: How do I get the identifier of the currently connected network interface?
Re: How do I get the identifier of the currently connected network interface?
- Subject: Re: How do I get the identifier of the currently connected network interface?
- From: "email@hidden" <email@hidden>
- Date: Sun, 11 Nov 2012 11:04:22 +0000
On 8 Nov 2012, at 04:20, MaurĂcio Linhares <email@hidden> wrote:
> Any hints?
>
> I just need something like "en0", "vl0", just the identifier of the
> currently connected network. Is there a function that is going to give
> me this information?
Check out the docs for SCNetworkConfiguration, SCNetwork and SCNetworkReachability.
You can monitor the current network reachability status using the reachability sample code
http://developer.apple.com/library/ios/#samplecode/Reachability/Introduction/Intro.html
Regards
Jonathan Mitchell
Mugginsoft LLP
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden