DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

T_DISCON_IND(D7tpi)


T_DISCON_IND -- Disconnect Indication

Synopsis

This message consists of a M_PROTO message block formatted as follows:
   struct T_discon_ind {
   	long PRIM_type;		/* always T_DISCON_IND */
   	long DISCON_reason;	/* disconnect reason -   */
   	long SEQ_number;		/* sequence 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.

Notices

Hardware constraints

None

Applicability

N/A

Backward compatibility

UnixWare-specific TPI Message Formats

Forward compatibility

N/A
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005