Changed term to sockterm (name conflict)