TipcMsgUpdateNamedInt2 update an INT2 field in a message with new data
msg
message to update field in
name
name of the field
value
value of the field
TRUE
if the update was successful, FALSE
otherwise.
If TipcMsgUpdateNamedInt2 fails, it returns FALSE
and sets the global SmartSockets error number to one of:
msg
, name
or value
is nullmsg
was not a valid messagevalue
was not a valid valueTipcMsgUpdateNamedInt2 updates an INT2 field in a message, associating that field with a name.
TipcMsgAddNamedInt2, TipcMsgGetNamedInt2
This example changes the value of the named field "data
":
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |