Sift and mix the sugar and cornstarch together. Whisk eggs. Add eggs to sugar mixture. Add milk. Scrape the seeds out of the vanilla pod and add to mixture. Cook over medium heat, stirring constantly until the custard thickens. Remove from heat. Add the vanilla extract. Stir to cool. Finish cooling in a refrigerator.