Changed registerIP prototype