Added the const keyword to IP address arguments that are not (and should not be) changed by the callee