TipcPropertiesMsgCreate


Name

TipcPropertiesMsgCreate — create a SmartSockets message from a properties table

Synopsis

T_IPC_MSG TipcPropertiesMsgCreate(props) 
T_IPC_PROPERTIES props; 

Arguments

props — property table

Return Values

A pointer to a SmartSockets message if successful, NULL otherwise.

Diagnostics

If TipcPropertiesMsgCreate fails, it returns NULL and sets the global SmartSockets error code to:

Description

TipcPropertiesMsgCreate creates a SmartSockets message from a properties table.

Caution

None

See Also

TipcPropertiesCreateMsg

Examples

This example creates a SmartSockets message from a properties table:

T_IPC_PROPERTIES props; 
T_IPC_MSG props_msg; 
 
props_msg = TipcPropertiesMsgCreate(props); 
if (props_msg == NULL) { 
  return;  /* error */ 
} 
 
TipcMsgPrint(props_msg, TutOut); 

TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com