It's strange because we've had very few/no reports of faulty iPad headphone sockets. There have been problems with the earpieces, problems with the volume control, a need for a reset, problems with the mute button (you did check this?), but no faulty sockets. If none of these work, I can only suggest - as have others - a visit to the Apple Store.
Tim