ping - How to check if my device (iOS) have internet connection via bash -


in linux using line of code easy:

if ping -c 4 google.com ; echo ok ; else echo ko ; fi 

but in ios, ping command not available. workaround? or can access system plist file in ios connectivity status?


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -