in addresses must be compared in host order