The _tttt______gggg_eeee_tttt_pppp_rrrr_oooo_tttt_aaaa_dddd_dddd_rrrr_((((_)))) function returns local and remote protocol addresses
currently associated with the transport endpoint specified by _ffff_dddd. In
_bbbb_oooo_uuuu_nnnn_dddd_aaaa_dddd_dddd_rrrr and _pppp_eeee_eeee_rrrr_aaaa_dddd_dddd_rrrr the user specified _mmmm_aaaa_xxxx_llll_eeee_nnnn, which is the maximum
size of the address buffer, and _bbbb_uuuu_ffff which points to the buffer where the
address is to be placed. On return, the _bbbb_uuuu_ffff field of _bbbb_oooo_uuuu_nnnn_dddd_aaaa_dddd_dddd_rrrr points to
the address, if any, currently bound to _ffff_dddd, and the _llll_eeee_nnnn field specifies
the length of the address. If the transport endpoint is in the T_UNBND
state, zero is returned in the _llll_eeee_nnnn field of _bbbb_oooo_uuuu_nnnn_dddd_aaaa_dddd_dddd_rrrr. The _bbbb_uuuu_ffff field of
_pppp_eeee_eeee_rrrr_aaaa_dddd_dddd_rrrr points to the address, if any, currently connected to _ffff_dddd, and
the _llll_eeee_nnnn field specifies the length of the address. If the transport
endpoint is not in the T_DATAXFER state, zero is returned in the _llll_eeee_nnnn
field of _pppp_eeee_eeee_rrrr_aaaa_dddd_dddd_rrrr.
This function resides within the X/Open compliant _llll_iiii_bbbb_xxxx_nnnn_eeee_tttt Network
Services library. Network Services applications which require X/Open
compliance must link-load with _----_llll_xxxx_nnnn_eeee_tttt.
On failure, _tttt______eeee_rrrr_rrrr_nnnn_oooo may be set to one of the following:
_TTTT_BBBB_AAAA_DDDD_FFFF The specified file descriptor does not refer to a
transport endpoint.
_TTTT_BBBB_UUUU_FFFF_OOOO_VVVV_FFFF_LLLL_WWWW The number of bytes allocated for an incoming argument
(_mmmm_aaaa_xxxx_llll_eeee_nnnn) is greater than zero but not sufficient to store
the value of that argument.
_TTTT_SSSS_YYYY_SSSS_EEEE_RRRR_RRRR A system error has occurred during execution of this
function. _TTTT_PPPP_RRRR_OOOO_TTTT_OOOO This error indicates that a
communication problem has been detected between XTI and
the transport provider for which there is no other
_tttt______gggg_eeee_tttt_pppp_rrrr_oooo_tttt_aaaa_dddd_dddd_rrrr returns 0 on success and -1 on failure and _tttt______eeee_rrrr_rrrr_nnnn_oooo is set