Boil 10 minutes the sugar, butter, and milk. Remove from heat and add the oats. Combine cocoa, peanut butter, and vanilla and add to oat mixture.
Drop by spoon on wax paper. Let stand 1 hr.