User`s guide
C: Packet Exchange Quick Reference
DC 900-1343D 69
C.3 attach-packet
Packet Description
This packet is used to attach an application to the protocol and retrieve the protocol’s
session ID.
Packet Header
Freeway (DLI only):
usFWPacketType = FW_DATA
usFWCommand = FW_ICP_WRITE
usFWStatus = 0
ICP:
usICPClientID = 0
usICPServerID = 0
[usLength = 16 (used for non-DLI only)]
usICPCommand = DLI_ICP_CMD_ATTACH
iICPStatus = 0
usICPParams[0] = 0
usICPParams[1] = 0
usICPParams[2] = 0
Protocol:
usProtCommand = DLI_ICP_CMD_ATTACH
iProtModifier = 0
usProtLinkID = port number
usProtCircuitID = 0
usProtSessionID = 0 - returned with protocol session number
usProtSequence = 0
usProtXParms[0] = 0
usProtXParms[1] = 0
Note
The Freeway header is used only with DLI (it is not applicable for
DLITE), and the
usLength field of the ICP header is used only
without DLI.
Data
None
Packet Exchanges
usProtCommand sent usProtCommand received
------------------ ----------------------
DLI_ICP_CMD_ATTACH DLI_ICP_CMD_ATTACH