Rename buffer to receive_buffer