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 theOTDontAckSends
function only if you have used theOTAckSends
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
, orOTSndRequest
functions, theOTDontAckSends
function returns akOTChangeStateErr
message.To find out whether a provider is acknowledging sends, call the
OTIsAckingSends
function.SEE ALSO
"Setting a Provider's Send-Acknowledgment Status".