Title Banner

Previous Book Contents Book Index Next

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


NSpProtocolList_GetIndexedRef

You can use the NSpProtocolList_GetIndexedRef function to receive the protocol reference at the indicated location in the list for iteration.

NSpProtocolReference NSpProtocolList_GetIndexedRef (
	NSpProtocolListReference inProtocolList,
	UInt32 inIndex);
inProtocolList
An opaque reference to a list of protocols.
inIndex
A valid index entry.
function result
A result code of noErr, or a NetSprocket or Open Transport result code.
DESCRIPTION
This is a peek function that allows you to look at the contents of a protocol list. NSpProtocolList_GetIndexedRef does not remove the protocol from the list, so you must not delete the reference to it.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help