axl_bool vortex_connection_channel_exists ( VortexConnection connection,
int  channel_num 
)

Check if a channel is already created on the given connection.

This function allows to check if a channel is already created over this connection (or session). Channel number must be a positive integer starting from 0. Channel 0 is always opened and exists until connection (or session) is closed.

Parameters:
connection vortex connection to check channel existence
channel_num channel number to check
Returns:
axl_true if channel identified by channel_num exists, otherwise axl_false.