Mix sugar and cocoa in a saucepan.
Add a stick of butter and the can of evaporated milk, and stir until the mixture starts boiling.
Stir continuously for 7 minutes, then remove from heat and add vanilla.
Stir the mix continuously for 3 minutes, then pour into a buttered baking dish to set.