void printClientList() { printf("ClientList:\n================\n"); int clientCount = 0; struct ClientNode *client = clientList->firstClient; while (client != NULL) { printf("%d ", ++clientCount); printClient(client); client = client->nextClient; } printf("%d active Clients\n", clientCount); printf("Max Socket: %d\n", clientList->maxSocket); }
void printClientInfo(void* c){ printf("*"); printClient((ClientP) c); }