Correct socket condition