Important: The information in this document is obsolete and should not be used for new development.
The TReply Structure
You use theTReplystructure to specify the data being sent with theOTSndReplyfunction and the data being read with theOTRcvReplyfunction. You pass this structure as a parameter to each of these functions. When sending data you must initialize thebufandlenfields of all theTNetbufs. When receiving data, you must initialize thebufandmaxlenfields of all theTNetbufs.The
TReplystructure is defined by theTReplydata type.
struct TReply { TNetbuf data; TNetbuf opt; OTSequence sequence; }; typedef struct TReply TReply;
Field Description
data- A
TNetbufstructure specifying the location and size of the reply buffer.opt- A
TNetbufstructure describing the location and size of the options buffer.sequence- A long that specifies the transaction ID of the current transaction.