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 21 - Providers Reference / Functions
Controlling a Provider's Modes of Operation /


OTDontAckSends

Specifies that a provider copy data before sending it.

C INTERFACE
OSStatus OTDontAckSends(ProviderRef ref);
C++ INTERFACE
OSStatus TProvider::DontAckSends();
PARAMETERS
ref
The provider reference of the provider that is sending data.
function result
An error code. See Appendix B for more information.
DISCUSSION
By default, providers do not acknowledge sends. You need to call the OTDontAckSends function only if you have used the OTAckSends function to turn on send-acknowledgment for a provider.

If a send is currently outstanding on the provider, from a call to the OTSnd, OTSndUData, OTSndUReply, OTSndURequest, OTSndReply, or OTSndRequest functions, the OTDontAckSends function returns a kOTChangeStateErr message.

To find out whether a provider is acknowledging sends, call the OTIsAckingSends function.

SEE ALSO
"Setting a Provider's Send-Acknowledgment Status".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998