Fixed socket logic