Help,How can I get FSocket working?

I fixed it .

There is a file in ue4 project , It’s
name is ‘Project Name’.build.cs.

add “Sockets” and “Networking” into it
. Then project can be compile successfully .

Like this :

using UnrealBuildTool;

public class HowTo_PlayerInput : ModuleRules
{
	public HowTo_PlayerInput(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
	
		PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore",
                                                                                                    "Sockets",//new item
                                                                                                    "Networking"//new item
            });

		PrivateDependencyModuleNames.AddRange(new string[] {  });

		// Uncomment if you are using Slate UI
		// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
		
		// Uncomment if you are using online features
		// PrivateDependencyModuleNames.Add("OnlineSubsystem");

		// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
	}
}