Important: The information in this document is obsolete and should not be used for new development.
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 theOTDontAckSendsfunction only if you have used theOTAckSendsfunction 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, orOTSndRequestfunctions, theOTDontAckSendsfunction returns akOTChangeStateErrmessage.To find out whether a provider is acknowledging sends, call the
OTIsAckingSendsfunction.SEE ALSO
"Setting a Provider's Send-Acknowledgment Status".