User`s guide
C: Packet Exchange Quick Reference
DC 900-1343D 73
C.6 write-data-packet
Packet Description
This packet is used to send data to a remote application.
Packet Header
Freeway (DLI only):
usFWPacketType = FW_DATA
usFWCommand = FW_ICP_WRITE
usFWStatus = 0
ICP:
usICPClientID = 0
usICPServerID = 0
[usLength = length of data & protocol header
(used for non-DLI only)]
usICPCommand = DLI_ICP_CMD_WRITE
iICPStatus = 0
usICPParams[0] = 0
usICPParams[1] = 0
usICPParams[2] = 0
Protocol:
usProtCommand = DLI_PROT_SEND_NORM_DATA
iProtModifier = 0
usProtLinkID = port number
usProtCircuitID = 0
usProtSessionID = protocol session number from “attach-packet”
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
Data to be sent to remote application with the first 16 bytes reserved for DDCMP pro-
tocol use.
Packet Exchanges
usProtCommand sent usProtCommand received
------------------ ----------------------
DLI_PROT_SEND_NORM_DATA DLI_PROT_RECV_DATA with iProtModifier = 7