Okay this might be simple they might not... and they might just be the same routines that I'd use in a normal Cocoa application but here goes...
Does anyone know code that can tell me:
- If the device is currently connected to wifi (aka not using cell-data)?
- What the device IP address is (again for wifi - not for cell-data)?
I'm writing a program that need to talk to a specific piece of hardware that can only be connect to if you are on the same network as *it*... Aka you can't talk to it if you are going over the internet (even if you could I wouldn't want feature to work at the moment).
Any ideas?
Dave
Does anyone know code that can tell me:
- If the device is currently connected to wifi (aka not using cell-data)?
- What the device IP address is (again for wifi - not for cell-data)?
I'm writing a program that need to talk to a specific piece of hardware that can only be connect to if you are on the same network as *it*... Aka you can't talk to it if you are going over the internet (even if you could I wouldn't want feature to work at the moment).
Any ideas?
Dave