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. TheOTGetEndpointInfo
function 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: theOTGetProtAddress
function returns the endpoint's address and, if the endpoint is connected, the address of its peer. TheOTResolveAddress
function returns the protocol address that corresponds to an endpoint name. To obtain the state of the endpoint, you can call theOTGetEndpointState
function. To determine whether there are any asynchronous events pending for the endpoint, you can call theOTLook
function. Finally, theOTSync
function 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".