Hi, Xavier Perseguers schrieb: > Why not simply look for "127." at the beginning for IPv4? I mean I > sometimes use 127.0.0.2 or other IPs for localhost. Actually, this needs to be 127.0.0.* (127.0.0.0/8), according to <http://en.wikipedia.org/wiki/Localhost>. Oliver