Combine. Mix the sugar, cocoa, flour, and salt together in a heavy medium saucepan. Add 1/4 cup of the milk and stir to a smooth mixture. Add the remaining milk and the vanilla; blend well.
Cook. Place the saucepan over medium-high heat and bring to a boil, stirring frequently. As soon as the sauce comes to a boil, reduce the heat to the lowest and simmer for 5 minutes, stirring frequently.
Cool and enjoy. Let the sauce cool. Enjoy the sauce right away or pour it into a jar and store it, covered, in the refrigerator for up to 2 weeks.