DDE Cold Link
Following are the steps of exchanging the messages between client and server engaged in DDE cold link conversation:
Like this the DDE conversation continues with the client posting WM_DDE_REQUEST messages to the server. In reply to which the server posts WM_DDE_DATA or WM_DDE_ACK message.
Following picture shows the sequence of message exchange between the client and server engaged in DDE cold link conversation.
Client Server
---- WM_DDE_INITIATE --->
(application, topic)
<-----
WM_DDE_ACK -------
----- WM_DDE_REQUEST ---->
(item)
<-----
WM_DDE_DATA ------
(item)
------ [WM_DDE_ACK]
----->
(positive)
----- WM_DDE_REQUEST ---->
(item)
<-----
WM_DDE_ACK -------
(negative)
---- WM_DDE_TERMINATE --->
<-- WM_DDE_TERMINATE
----
In DDE cold link conversation the client "requests" for data and the server serves the request. If the data is being updated at the server, there is no way how the client can get a notification of the update. So in cold link conversation client has to continuously ask the server for data.