Using a buffer for requests¶
You may need a stream buffer (
tnt_buf) if you don’t need the networking
tnt_net, but you need to write requests or parse replies.
Creating a buffer¶
Use the basic functions for building requests:
Use an iterator to iterate through replies in your stream buffer,
or use the stream’s
stream->read_reply(struct tnt_stream *stream, struct tnt_reply *reply)).