Confining elastic part in socket