Unrecognized type 'FSocket'

Specifically, this won’t compile due to Unrecognized type ‘FSocket’:

#pragma once

#include "GameFramework/PlayerController.h"
#include "Sockets.h"
#include "AMyClass.generated.h"

/**
 * 
 */
UCLASS()
class UDPRECEIVERTEST_API AMyClass : public APlayerController
{
	GENERATED_BODY()

	UPROPERTY()
	FSocket* Socket;

	AMyClass(const FObjectInitializer& ObjectInitializer);
	
};

But I have this line in the build.cs:

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Sockets", "Networking" });

And I know the build.cs is getting invoked, because if I mistype Sockets it will complain.