Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 21 - Providers Reference / Functions


Opening and Closing Providers

To create and open a provider, you use a type-specific provider function--for example, the OTOpenEndpoint or OTAsyncOpenEndpoint function creates and opens an endpoint. These functions are included in the chapters describing the various type of providers. When you finish using a provider of any type, always call the OTCloseProvider function to close and delete the provider.

You can also transfer ownership of a provider using the OTTransferProviderOwnership function, and the OTWhoAmI function, to obtain the ID of the current client.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998