Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 3 - Endpoints / Endpoints Reference
Constants and Data Types


OTBuffer Constant

When receiving data without making a copy, you need to point to an OTBuffer pointer. Open Transport provides a constant that you can use instead of the nbytes parameter of the OTRcv function or the udata.maxlen field used with other receive functions to indicate that you are doing this.

enum {
   kNetbufDataIsOTBufferStar= (size_t)0xfffffffdU
};

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help