Network Connectivity provides a way to check if a required server address is reachable or not. You can customize the polling behaviour from NPSettings Inspector.
On Android, we check with Socket connection as some samsung devcies don’t have access to ping command without root access.