Is it possible using Objective C in Mac OS to determine the type of active network connection (Wifi or LAN)?
I referred Reachability example code in Apple Library ( https://developer.apple.com/library/IOs/samplecode/Reachability/Introduction/Intro.html ) but was unable to get any information to detect LAN network type on Mac OS.
Please help me on this.
Thanks.
Have a look at Reachability implementation https://developer.apple.com/library/ios/samplecode/Reachability/Introduction/Intro.html
I'm not sure about LAN however you can find out, if its connected to Wifi and internet is available or not.
I guess this might help you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.