In a saucepan, off the heat, combine the sugar and flour. Add the eggs and whisk until the mixture is smooth. Slowly whisk in the hot milk. Bring to a boil over medium heat, whisking constantly. Remove from the heat as soon as it begins to boil. Add the vanilla and stir to combine. Pour into a bowl. Place a sheet of plastic wrap directly on the surface of the warm custard. Let cool, then refrigerate until thoroughly chilled, about 2 hours.
RASPBERRY JAM
-