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