Mix together sugar, flour and salt, and add to milk all at once. Cook over hot water about 3 minutes until smooth and medium thick, stirring constantly.
Pour hot milk over beaten eggs and return to double boiler. Cook until thick, about 3 minutes, stirring constantly. Add vanilla. Cool.