Previous section.

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

NAME

T_DISCON_IND - Disconnect Indication

SYNOPSIS

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


struct T_discon_ind {
    t_scalar_t   PRIM_type;      /* Always T_DISCON_IND */
    t_scalar_t   DISCON_reason;
    t_scalar_t   SEQ_number;
};


DESCRIPTION

This primitive indicates to the user that either a request for connection has been denied or an existing connection has been disconnected. The format of this message is one M_PROTO message block possibly followed by one or more M_DATA message blocks if there is any user data associated with the primitive.

PARAMETERS

PRIM_type
identifies the primitive type

DISCON_reason
is the reason for disconnect. The reason codes are protocol specific.

SEQ_number
is the sequence number which identifies which connect indication was denied, or it is -1 if the provider is disconnecting an existing connection.

RULES

The SEQ_number is only meaningful when this primitive is sent to a passive user who has the corresponding connect indication outstanding. It allows the transport user to identify which of its outstanding connect indications is associated with the disconnect.

MODES

Only connection-mode.

ORIGINATOR

Transport provider.

Contents Next section Index