this code doesn't work anymore for a long time already
Adjust to larger IP address space