Description
The CPXdelchannel() routine flushes all message destinations for a channel, clears the message destination list, and frees the memory allocated to the channel. Upon completion, the pointer to the channel will be set to NULL.Return Value
This routine does not have a return value.Synopsis
void CPXdelchannel (CPXENVptr env,
CPXCHANNELptr *channel_p);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXCHANNELptr *channel_pThe pointer to the pointer to the channel containing the message destinations to be flushed, cleared, and destroyed.
CPXdelchannel (env, &mychannel);