IP_GetChannelID
IP_GetChannelID — returns the channel ID for IP library use.
Syntax
#include <cogent.h>
int IP_GetChannelID(
void)
;
Returns
The channel ID being used by the
IP library, or -1 if no channel could be created.
Description
This function returns the channel ID to be used by the IP library
functions. If there is no current channel set, then this function
creates a new channel and returns that. Subsequent calls to this
function will return the same channel.