socket stream ,working on