Example

//-------------------------------------------------------------------
// ECLConnection::IsCommStarted
//
// Display list of all started connections which are currently
// in communications with a host.
//-------------------------------------------------------------------
void Sample13() {
 
ECLConnection *Info;     // Pointer to connection object
ECLConnList ConnList;	   // Connection list object
 
for (Info = ConnList.GetFirstConnection();
     Info != NULL;
     Info = ConnList.GetNextConnection(Info)) {
 
  if (Info->IsCommStarted())
    printf("Connection %c is connected to a host.\n", Info->GetName());
}
 
} // end sample