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