Previous section.

Transport Provider Interface (TPI), Version 2 Draft 2
Copyright © 1999 The Open Group

NAME

T_ADDR_REQ - Get Protocol Address Request

SYNOPSIS

This message consists of a M_PCPROTO message block formatted as follows:


struct T_addr_req {
    t_scalar_t   PRIM_type;      /* Always T_ADDR_REQ */
};


DESCRIPTION

This primitive requests the transport provider to return the local and remote protocol addresses currently associated with the transport endpoint.

PARAMETERS

PRIM_type

indicates the primitive type.

Note that the T_ADDR_REQ and T_ADDR_ACK primitives have no effect on the state of the transport provider and do not appear in the state tables.

RULES

This primitive requires the transport provider to generate one of the following acknowledgments on receipt of the primitive and that the transport user wait for the acknowledgment before issuing any other primitives:

Successful

Acknowledgment of the primitive via
T_ADDR_ACK

Non-fatal errors

These errors will be indicated via
T_ERROR_ACK.

MODES

Both connection-mode and connectionless-mode.

ORIGINATOR

Transport user.

Contents Next section Index