Important: The information in this document is obsolete and should not be used for new development.
Obtaining Information About an Endpoint
You use the functions described in this section to obtain information about an endpoint. TheOTGetEndpointInfofunction returns information about the type 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 other functions return information about an endpoint's address: theOTGetProtAddressfunction returns 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 modes of execution (
OTIsSynchronous,OTIsAckingSends,OTIsNonBlocking). For more information about these functions, see "Providers Reference".