Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 28 - Advanced Topics Reference / Functions
/


OTReleaseBuffer

Returns the no-copy receive buffer to the system.

C INTERFACE
void OTReleaseBuffer(OTBuffer* buf);
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
buf
A pointer to the no-copy receive buffer to be released.
DISCUSSION
Once a no-copy receive is completed, you need to release the OTBuffer structure as quickly as possible by calling this function.

SPECIAL CONSIDERATIONS
This function is available only to PowerPC-native clients; there is no mixed-mode glue for the function, so you must build a fat application in order to use it.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998