IP_SetConnectionID

IP_SetConnectionID — sets the connection ID for IP library use.

Syntax

#include <cogent.h>

void IP_SetConnectionID(int coid);

Arguments

coid

A connection ID.

Returns

Nothing.

Description

This function sets the connection ID to be used by the IP library. This is stored in a static variable within the library and is accessible with IP_GetConnectionID. This function is normally only needed when interfacing to a facility that implements its own event loop and has already created a connection ID. Photon is such a facility.

See Also

Connections and Channels, IP_GetConnectionID