I did the pulling him in trick with my 6 mo old. So far, he's only bitten me twice (knock wood). It took a moment for him to pop off, but I found just gritting my teeth, and pulling him in until he popped off to get a breath, then setting him down saying "no biting" and putting away the boob for 10 min or so really got the point across quickly. Also, setting him down gave me a chance to walk away for a minute so I could cuss under my breath and grab an ice cube (which while messy, took some of the sting away for a minute). That way my hurt and upset didn't transfer to him, and he stayed pretty calm and happy.
HTH.