Fixed socket reading