TipcEventGetConn


Name

TipcEventGetConn — get an event’s connection information

Synopsis

T_BOOL TipcEventGetConn(event, conn_return) 
T_IPC_EVENT event; 
T_IPC_CONN *conn_return; 

Arguments

event — a connection event

conn_return — returned connection information

Return Values

TRUE if the connection was successfully retrieved for the event, FALSE otherwise.

Diagnostics

If TipcEventGetConn fails, it returns FALSE and sets the global SmartSockets error number to one of:

Description

TipcEventGetConn gets the event’s connection.

Caution

None

See Also

TipcEventCreateConn

Examples

This example returns the connection information for a connection event:

T_IPC_CONN conn; 
 
if (!TipcEventGetConn(event, &conn)) { 
  return;  /* error */ 
} 

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