cmdriver/src/CMDriver.cxx
//--------------------------------------------------------------------------------------------
// This function will create new client record in the clients linked list.
//--------------------------------------------------------------------------------------------
This function will create new client record in the clients linked list.
This function will create new client record in the clients linked list .
ClientDescriptor* CreateNewClient(int id, int client_socket, int client_port,
                                  int client_tcp, int client_type) {
    ClientDescriptor* descr = NULL;
    descr = new ClientDescriptor(id,client_socket,client_port,client_tcp,client_type);
    descr->AddNewClient(descr);
    return descr;
}
ClientDescriptor * CreateNewClient ( int id , int client_socket , int client_port , int client_tcp , int client_type ) { ClientDescriptor * descr = NULL ; descr = new ClientDescriptor ( id , client_socket , client_port , client_tcp , client_type ) ; descr -> AddNewClient ( descr ) ; return descr ; }
This function will create new client record in the clients linked list.
This function will create new client record in the clients linked list .