//-------------------------------------------------------------------
// ECLConnection::StartCommunication
//
// Start communications link for any connection which is currently
// not comm-connected to a host.
//-------------------------------------------------------------------
void Sample17() {
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("Starting comm-link for connection %c...\n", Info->GetName());
Info->StartCommunication();
}
}
} // end sample