fixed read socket len