TipcEventGetCheckMode get check mode value of a connection or socket event
T_BOOL TipcEventGetCheckMode(event
,check_mode_return
) T_IPC_EVENTevent
; T_IO_CHECK_MODE *check_mode_return
;
event
a connection or socket event
check_mode_return
returned check mode
TRUE
if the check mode was successfully retrieved for the event, FALSE
otherwise.
If TipcEventGetCheckMode fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcEventGetCheckMode returns the check mode value, T_IO_CHECK_READ
or T_IO_CHECK_WRITE
, of the event.
None
TipcEventCreateSocket, TipcEventCreateConn
This example returns the value of an event’s check mode:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |