This function returns the connection ID to be used by the IP library functions. If there is no current connection, then this function creates a new connection and returns that. This function calls IP_GetChannelID, possibly also creating a new channel.