change read buffer from socket