int vortex_channel_get_next_reply_no ( VortexChannel channel)

Allows to get next reply number expected on this channel.

Parameters
channelthe channel to query.
Returns
Next reply number expected or -1 if fails

References vortex_mutex_lock(), and vortex_mutex_unlock().