void *chatServer::readFromClient(int clientDescriptor){ clearMessageBuffer(); loadBufferFromSocket(clientDescriptor); if(strlen(messageBuffer) > 1){ printMessageBuffer(); } }
void qConsole::clearConsoleBuffers() { clearMessageBuffer(); clearCommandBuffer(); }