There is a way to check internet connection with simplest and minimal action from software, not even ping needed. Common way would be to use system() call and ping inside and parse output. But there is even a simpler and lighter way to do so. Not even sending ICMP packet needed. We create socket: int… Continue reading Check internet