Have your code ping Google. As soon as it can ping, you have internet, as soon as the ping fails, you have no Internet. It can do stuff while the ping works and stops when the ping fails and wait until the ping succeeds again.
There are a million different ways to do this.
There are a million different ways to do this.
Statistics: Posted by memjr — Sun Sep 29, 2024 11:55 pm