in reply to How can I determine whether a URI, hostname or IP address is to the local host machine?
Given the existence of load balancers, you will also have to consider the possibility that the address will only sometimes be the local machine.
Why not keep a hash containing the sites you have visited. If the site you're about to visit exists in the hash, avoid recursion by not going there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can I determine whether a URI, hostname or IP address is to the local host machine?
by dbooth (Novice) on Apr 29, 2014 at 18:21 UTC |