Ip address as primary key for mobile game

Is it a good idea to make the ip address the key for my clientmap. Right now i have an UUID for the key. Can i use the ip address? Can an ip address change since the player is mobile. I know total noob at this :stuck_out_tongue:

Any help is appreciated

Internet in mobile phones usually have shared IP, so I would not rely on it. :slight_smile:

Thanks very much. I just looked up this link http://trac.bookofhook.com/bookofhook/trac.cgi/wiki/Quake3Networking at the NAT paragraph

So i do need a UUID.
Thanks Mac70 :slight_smile:

Use the MAC address, itโ€™s unique to the Device.

Itโ€™s not particularly secure or anything but works fine.

yeah +1 on mac address

Thank you guys.
I really appreciate this