Download

Get IP Address of connected player

Is there a way I can get the ip address of players from the server. Maybe in the controller sent to PostLogin? I need this for a socket connection to send data.

You can call GetNetConnection on your player controller to get its UNetConnection, which then has several methods depending on what format you want the address in. For example, LowLevelGetRemoteAddress() to get a string, or GetAddrAsInt(), or cast it to a UIpConnection and access the RemoteAddr field directly.

Cool Thanks!

I can’t get fortnite up on my PC how do i