Hi,
I have requirement in iOS where application needs to run in the background
It can be a simple hello world program running in the background.
could you shed some light on what is the expected behaviour and is it allowed in iOS.
Post
Replies
Boosts
Views
Activity
on MacOS I am using raw socket and PF_Route options to monitor the routing table changes but looks like that is not supported in iOS
what are the other ways to achieve real time monitoring in iOS ?
I have tried
networksetup -setnetworkserviceenabled "USB 10/100/1000 LAN" on
networksetup -setnetworkserviceenabled "USB 10/100/1000 LAN" off
and same with ifconfig cmd
sudo ifconfig down
sudo ifconfig up
I am able to bounces the interfaces with these commands but the network connectivity is not restored properly for USB 10/100/1000 LAN interface
May I know is there any other way we can achieve this programmatically using network framework API available for Mac