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 22 - Endpoints Reference / Functions


Creating Endpoints

To transfer information, you need to create an endpoint and assign it an address. To create an endpoint, you call the OTOpenEndpoint or OTAsyncOpenEndpoint function. You must create an endpoint before calling any endpoint functions. After creating an endpoint, you must bind it by assigning it a protocol address. After binding, the endpoint is ready for use. When you finish using an endpoint, always call the function OTCloseProvider to close the endpoint.

For more information about binding an endpoint, see "Binding and Unbinding Endpoints". For a description of the OTCloseProvider function, see "Providers Reference".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998