func (c *Client) readReply() (*Reply, error) {
	r := &Reply{}
	var lastErr error
	for {
		sen, err := c.r.ReadSentence()
		if err != nil {
			return nil, err
		}
		done, err := r.processSentence(sen)
		if err != nil {
			if done {
				return nil, err
			}
			lastErr = err
		}
		if done {
			return r, lastErr
		}
	}
}
readReply reads one reply synchronously. It returns the reply.
package routeros
import (
	"bytes"
	"fmt"
	"github.com/go-routeros/routeros/proto"
)
type Reply struct {
	Re   []*proto.Sentence
	Done *proto.Sentence
}
func (r *Reply) String() string {
	b := &bytes.Buffer{}
	for _, re := range r.Re {
		fmt.Fprintf(b, "%s\n", re)
	}
	fmt.Fprintf(b, "%s", r.Done)
	return b.String()
}