Why Clear the backbuffer in CheckBuffer

2001-04-12 Thread millerp
James, Thank you for an excellent program. I have a small question & perhaps a bug fix. In the CheckBuffer function in vncBuffer, memcpy(m_backbuff, m_mainbuff, m_desktop->ScreenBuffSize()); Is used to clear the backbuffer. Sounds very innocent. If however in the client there is some outstandi

AddClient after service stopped fix?

2001-04-27 Thread millerp
In my hunt for memory leeks you may want to look at what I've found. // Code to be executed by the thread void *vncSockConnectThread::run_undetached(void * arg) { log.Print(LL_STATE, VNCLOG("started socket connection thread\n")); // Go into a loop, listening for connections on the given socket