fix bug on 32-bit systems

If you have a 32 bit system, sys.maxint will be 127.255.255.255