Hi guys,
I’m trying to connect my socket by using FInternetAddr. I followed this one A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
but after build, I got this error: ‘SetPortW’: is not a member of ‘FInternetAddr’
I don’t understand why Visual Studio expands to ‘SetPortW’
anyone can help me out with this, thanks.
I think it is up to sequence to include. In my case, including Windows.h before including SocketSubsystem.h I saw same issue. So, I tried to make them correct sequence, Including SocketSubsystem.h early. I solved that issue by Rearrangement.
good luck.
Got this! Once I include the Networking.h (may be the same as socketsystem.h) before all headers, the error was solved!