Answer:
George Washington received the message that ships were coming to attack the French through a network of spies and scouts that he had established. These individuals were able to gather information about the movement of enemy ships and relay it back to Washington in a timely manner, allowing him to prepare his troops and make strategic decisions. Additionally, Washington also had a system of signal flags in place, which allowed him to communicate with his troops and other military leaders quickly and effectively.