Important: The information in this document is obsolete and should not be used for new development.
The OTData Structure
You use theOTDatastructure to specify the location and size of noncontiguous data. You use a pointer to this structure in place of a pointer to continguous data normally referenced inTNetbuf.buffield. You can send discontiguous data using theOTSndUDatafunction, theOTSndURequestfunction, theOTSndUReplyfunction, theOTSndfunction, theOTSndRequestfunction, and theOTSndReplyfunction.
Each
- Note
 - The
 OTDatastructure is an Apple extension.![]()
OTDatastructure specifies the location of a data fragment, the size of the fragment, and the location of theOTDatastructure that specifies the location and size of the next data fragment. The data information structure is defined by theOTDatatype. For more information, see "Sending Noncontiguous Data".
struct OTData { void* fNext; void* fData; size_t fLen; }; typedef struct OTData OTData;
Field Description
fNext- A pointer to the
 OTDatastructure that describes the next data fragment. Specify aNULLpointer for the last data fragment.fData- A pointer to the data fragment.
 fLen- Specifies the size of the fragment in bytes.