Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 4 - NetSprocket / NetSprocket Reference
NetSprocket Functions / Managing Network Protocols


NSpProtocolList_Remove

You can use the NSpProtocolList_Remove function to remove a protocol reference from the list.

OSStatus NSpProtocolList_Remove (
	NSpProtocolListReference inProtocolList,
	NSpProtocolReference inProtocolRef);
inProtocolList
An opaque reference to a protocol list.
inProtocolRef
An opaque reference to the protocol you are removing.
function result
A result code of noErr, or a NetSprocket or Open Transport result code.
DESCRIPTION
When a protocol reference is removed from a protocol list, its memory once again belongs to the application and should be released with a call to NSpProtocol_Delete.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996