NSpInstallCallbackHandler
You can use the NSpInstallCallbackHandler function to install a generic callback handler for using NetSprocket in asynchronous mode.
OSStatus NSpInstallCallbackHandler ( NSpCallbackProcPtr inHandler, void *inContext);
inHandler
- A pointer to your callback function.
inContext
- A context pointer for your use. This is passed back to your callback function.
- function result
- A result code of
noErr
, or a NetSprocket or Open Transport result code.DESCRIPTION
This is an advanced function, and should not be used unless you plan to handle many of the complex networking details that NetSprocket would normally handle for your application.