RaspberryPi Ip-check c example