Obtaining Information About an Endpoint
You use the functions described in this section to obtain information about an endpoint. TheOTGetEndpointInfofunction returns information about the mode of service provided by the endpoint and the maximum size of the buffers used to specify address and option information and to hold data. Two functions return information about an endpoint's address: theOTGetProtAddressreturns the endpoint's address and, if the endpoint is connected, the address of its peer. TheOTResolveAddressfunction returns the protocol address that corresponds to an endpoint name. To obtain the state of the endpoint, you can call theOTGetEndpointStatefunction. To determine whether there are any asynchronous events pending for the endpoint, you can call theOTLookfunction. Finally, theOTSyncfunction is provided to accommodate existing XTI applications that use this function.In addition to the functions described in this section, you can use general provider functions to determine an endpoint's mode of execution (
OTIsSynchronous) or an endpoint's mode of operation (OTIsAckingSends,OTIsNonBlocking). For more information about these functions, see the reference section of the chapter "Providers" in this book.
Subtopics
- OTGetEndpointInfo
- OTGetEndpointState
- OTLook
- OTGetProtAddress
- OTResolveAddress
- OTSync
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help