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