I am trying to send a ping in the an application by using the following code:
int status = system("ping -c 3 192.168.2.3");
status should be 0 if the ping is successful, and something else, if it is not successful. This works when I don't run my application in a sandbox, but it is not working, when I am running it in a sandbox. Has anybody an idea how this could be solved?