Creating Endpoints
To transfer information, you need to create an endpoint and assign it an address. To create an endpoint, you call theOTOpenEndpointorOTAsyncOpenEndpointfunction. 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 functionOTCloseProviderto close and delete the endpoint.For more information about binding an endpoint, see "Binding and Unbinding Endpoints," beginning on page 3-76. For a description of the
OTCloseProviderfunction, see the reference section of the chapter "Providers" in this book.
Subtopics
- OTAsyncOpenEndpoint
- OTOpenEndpoint