[ Previous | Next | Contents | Search ]
AIXLink/X.25 1.1 for AIX: Guide and Reference

N_CONN_CON Primitive

Purpose

Confirms a network connection.

Structure

This primitive consists of one M_PROTO message block with the following structure:

typedef struct {
   ulong PRIM_type;
   ulong RES_length;
   ulong RES_offset;
   ulong CONN_flags;
   ulong QOS_length;
   ulong QOS_offset;
} N_conn_con_t;
Note: QOS_length and QOS_offset are 0 (zero) since they are not supported.

Description

The N_CONN_CON primitive informs an NPI application that issued a N_CONN_REQ that the remote application accepted the connection.

The format of this primitive is one M_PROTO message block followed by one or more M_DATA blocks that contain NS user data. In the remote application's response it can send an integral number of octets of user data - within the range supported by the network. User data will be a part of the confirmation only if used in the remote's N_CONN_RES primitive. The data in the N_CONN_CON and N_CONN_RES primitives are always identical.

Parameters

PRIM_type Specifies the N_CONN_CON primitive.
RES_length Indicates the length of the responding address parameter. This parameter conveys the network address of the NS user entity to which the network connection (NC) has been established. Under certain circumstances, such as call redirection or generic addressing, the parameter value may be different from the destination address parameter specified in the corresponding N_CONN_REQ primitive.
RES_offset Indicates the offset of the responding address from the beginning of the M_PROTO message block.
CONN_flags Matches the value of the CONN_flags parameter of the N_CONN_RES primitive. The CONN_flags parameter can have the following value:
REC_CONF_OPT Indicates the use and availability of the receipt confirmation service on the NC. The receipt confirmation service must be provided in the network service to be used on the NC.
QOS_length 0 (zero) since QOS parameters are not supported.
QOS_offset 0 (zero) since QOS parameters are not supported.

Implementation Specifics

The N_CONN_CON primitive is part of X.25 Licensed Program.


[ Previous | Next | Contents | Search ]