The event is triggered when the datagram arrives.
The event notifies the receipt of the datagram into the WID
database variable. It presents the user with the identification of the datagram source StremId
for possible response, the user-specified Param
parameter and directly the new current value of the database variable (i.e. incoming datagram).
If the database variable is matrix then the event creates the DATA
variable as a two-dimensional matrix. The elements of the matrix are of the type corresponding to the database variable type or of the Variant
type containing the type corresponding to the database variable type.
After processing the datagram, the confirmation method DbAcceptDatagram
must be called.