NSpConvertOTAddrToAddressReference
You can use theNSpConvertOTAddrToAddressReferencefunction to obtain aNSpAddressReference.
NSpAddressReference NSpConvertOTAddrToAddressReference ( OTAddress *inAddress);
inAddress- A valid (TCP/IP or AppleTalk)
OTAddressreturned from Open Transport.- function result
- A valid
NSpAddressReference.DESCRIPTION
Given anOTAddress,NSpConvertOTAddrToAddressReferencereturns a newNSpAddressReferencefor theOTAddressyou have passed to NetSprocket. For efficient memory management, the reference should be released by callingNSpReleaseAddressReferencewhen you're done. You can deleteOTAddressonce 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.