Replace char* for IP with char[]