TipcMsgDeleteField delete a field, specified by field number, from a message
msg
message to delete field from
field_num
number of the field
TRUE
if the deletion was successful, FALSE
otherwise.
If TipcMsgDeleteField fails, it returns FALSE
and sets the global SmartSockets error numbers to one of the following:
TipcMsgDeleteField deletes the field of the specified number from the message, irrespective of whether the field is named or unnamed, and updates the field numbers of the subsequent fields. (For example, if field 3 is deleted, field 4 becomes field 3, field 5 becomes field 4, and so on.) If no such field exists, the function returns FALSE
.
TipcMsgDeleteNamedField, TipcMsgDeleteCurrent
This code example deletes the field of the specified number from the message:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |