Receiveing data by UDP don't work

uint32 Size;
while (ListenSocket->HasPendingData(Size))
{
uint8 *Recv = new uint8[Size];
int32 BytesRead;

		ListenSocket->Recv(Recv, Size, BytesRead);
		//Do something with the received data

		char ansiiData[1024]; //A temp buffer for the data

		memcpy(ansiiData, Recv, BytesRead); //Assumes bytesRead is always smaller than 1024 bytes

		ansiiData[BytesRead] = 0; //Add null terminator

		FString debugData = ANSI_TO_TCHAR(ansiiData);

		ListenSocket->RecvFrom(Recv, Size, BytesRead, *targetAddr);

		GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, "Message " + debugData);
	}

Above is my code
No errors no data received