I want to give the client his gateway address, I have a bunch of common gateway ips in a list.
How can I connect to an IP like '192.168.1.1' through javascript and see if it gives a response or not.
It would be better if the code doesn't use any third party framework.