Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 4 - NetSprocket / NetSprocket Reference
NetSprocket Functions / Initializing NetSprocket


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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996