Previous Book Contents Book Index Next

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


NSpProtocolList_Append

You can use the NSpProtocolList_Append function to add a new protocol reference to the list.

OSStatus NSpProtocolList_Append (
	NSpProtocolListReference inProtocolList,
	NSpProtocolReference inProtocolRef);
inProtocolList
An opaque reference to a protocol list.
inProtocolRef
An opaque reference to the protocol being appended.
function result
A result code of noErr, or a NetSprocket or Open Transport result code.
DESCRIPTION
The specified protocol reference will be appended to the list of protocol references, and it then becomes the property of the list. A protocol reference added to a list with this function should not be deleted with a call to NSpProtocol_Delete.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996