Basic socker reader with buffer