IP_SetConnectionID

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_SetConnectionID`

`IP_SetConnectionID` -- sets the connection ID for IP library use.

## Syntax

``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`

Prev | Home | Next
`IP_SetChannelID` | Up | `IP_SetGUIHandler`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.