Mix sugar, cocoa, cornstarch and salt in pan. Add milk slowly, stir until smooth. Cook and stir over medium heat until mixture thickens. Cook and stir 3 minutes longer. Add vanilla; stir. Chill before serving. Yield 6 servings.