NSpConvertOTAddrToAddressReference
You can use theNSpConvertOTAddrToAddressReference
function to obtain aNSpAddressReference
.
NSpAddressReference NSpConvertOTAddrToAddressReference ( OTAddress *inAddress);
inAddress
- A valid (TCP/IP or AppleTalk)
OTAddress
returned from Open Transport.- function result
- A valid
NSpAddressReference
.DESCRIPTION
Given anOTAddress
,NSpConvertOTAddrToAddressReference
returns a newNSpAddressReference
for theOTAddress
you have passed to NetSprocket. For efficient memory management, the reference should be released by callingNSpReleaseAddressReference
when you're done. You can deleteOTAddress
once the call has completed.You should use this function when you do not wish to use the human interface functions provided by NetSprocket for standard hosting, browsing, and joining.