//-------------------------------------------------------------------
// ECLConnection::IsStarted
//
// Display list of all started connections. Note they may or may
// not be communications-connected to a host, and may or may not
// be visible on the screen.
//-------------------------------------------------------------------
void Sample12() {
ECLConnection *Info; // Pointer to connection object
ECLConnList ConnList; // Connection list object
// Print list of started connections
for (Info = ConnList.GetFirstConnection();
Info != NULL;
Info = ConnList.GetNextConnection(Info)) {
if (Info->IsStarted())
printf("Connection %c is started.\n", Info->GetName());
}
} // end sample