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
connectionvortex connection to check channel existence
channel_numchannel number to check
Returns
axl_true if channel identified by channel_num exists, otherwise axl_false.

References vortex_hash_lookup().

Referenced by vortex_connection_get_next_channel().