Getting data through UDP connection, no data received

CLASS()
class AClientGameMode : public AGameMode
{
GENERATED_UCLASS_BODY()

	UFUNCTION(BlueprintCallable, meta = (FriendlyName = "Cognitive Power", CompactNodeTitle = "Cognitive", Keywords = "cognitive"), Category = "Emotiv")
	FString GetMindPower();
	UFUNCTION(BlueprintCallable, meta = (FriendlyName = "Init UDP", CompactNodeTitle = "Cognitive", Keywords = "udp"), Category = "Emotiv")
		void initUDP();
	UFUNCTION(BlueprintCallable, meta = (FriendlyName = "Close UDP", CompactNodeTitle = "Cognitive", Keywords = "udp close"), Category = "Emotiv")
		void closeUDP();
	private:
		FSocket* Socket;
		FInternetAddr* addr_in;
		uint8 data[512];
	//	auto addr_in;
	
};