Important: The information in this document is obsolete and should not be used for new development.
The TUnitData Structure
You use theTUnitDatastructure to describe the data being sent with theOTSndUDatafunction and the data being read with theOTRcvUDatafunction; 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
TUnitDatastructure is defined by theTUnitDatatype.
struct TUnitData { TNetbuf addr; TNetbuf opt; TNetbuf udata; }; typedef struct TUnitData TUnitData;
Field Description
addr- A
TNetbufstructure for address information.opt- A
TNetbufstructure for option information.udata- A
TNetbufstructure for data.