Mix together all ingredients except vanilla.
Stir over low heat until sugar is dissolved.
Bring to a boil, without stirring further.
When mixture reaches the hard ball stage (265 degrees - when a small piece dropped into cold water forms a hard ball).
Remove from heat, stir in vanilla and pour into buttered pan.