How to get the player's internal IP address?

How can I get a player’s internal, local IPV4 address in-game? (Like 192.168.xx.xx). My project is going to be released on Android, so I cannot use the command prompt or other Windows-specific things.
Any help would be greatly appreciated!

For network systems there really no division between internal or external IP, device don’t distibuish diffrence between them or else they been programmed to do so but by standard they don’t need to, so you searching for is IP set on the device, this is only IP you can get on the device. It’s all because ability to use internet in enclosed local network that use private IP addresses (Which been designated for such network use) is kind of a hack, your device always sends same source IP in packets even if it’s private, but router has a NAT (Network Address Translation) system which translates private IP to public IP for outgoing traffic and translates back when data goes back, your device is always thinking that private IP is your actual IP and have 0 idea (Again or else it been explicitly programmed to find out by other factors) that address is not actual IP they communicating with internet, it can only find out if it ask server about IP that his data is coming from and it will return IP translated by NAT which is public IP.

You also need to remember that devices can have more then just 1 address depending on there network setup.

You can get lot of device network stuff from ISocketSubsystem:

you access it like this:

ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)

Those 2 functions can be useful:

I am attempting to use the Pixel Streaming project. I would like to use this for a racing game… I do not know if this is the right topic area. Hops someone knows. I mean do I just share the IP address with users? I uploaded the file to but not sure if that will allow the user to log in and play the game