I am getting this errors when compiling my udp socket client program.
In project.build.cs i added “Sockets”, “Networking” as dependencies.
The include lines work fine in visual studio:
#include “Networking.h”
#include “Sockets.h”
#include “SocketSubsystem.h”
Any advice would be appreciated.
Found the solution:
you cant use TSharedRef addr; for ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateInternetAddr();
There are some posts on this forum that suggest you can but in the latest versions it seams not to work. The simple solution is just to use TSharedPtr Addr;