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