#define MAX_CHANNELS_NO   2147483647

the maximum number of channel which can be created on an connection (or session).