Important: The information in this document is obsolete and should not be used for new development.
The TUnitReply Structure
You use theTUnitReplystructure to specify the data being sent with theOTSndUReplyfunction and the data being read with theOTRcvUReplyfunction. You pass a pointer to theTUnitReplystructure 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
TUnitReplystructure is defined by theTUnitReplydata type.
struct TUnitReply { TNetbuf addr; TNetbuf opt; TNetbuf udata; OTSequence sequence; }; typedef struct TUnitReplyTUnitReply;
Field Description
addr- A
TNetbufstructure for address information.opt- A
TNetbufstructure for option information associated with this reply.udata- A
TNetbufstructure for reply data.sequence- A 32-bit value that specifies the transaction ID for this transaction.