Sometimes it disconnected by unknown reason or other reason during communicating client and server. And ProudNet always leave log that notice to server but often it is hard to find out reason because too many logs.
This function is useful when you have above situation.
CStartServerParameter p1; ... p1.m_clientEmergencyLogMaxLineCount = 5;//Save as emergency log up to 5 lines. server->Start(p1); client->Connect(...); // Save emergency log that choose by server after connect. client->DumpEmergencyLog(fileName); // Write emergency log with selected file.
When you insert following parameter, emergency log will run.
Normally when it disconnects with unknown reason then do DumpEmergencyLog. It takes a couple of lines before it disconnected.
When you did it, it may require routine to send server with extra socket communication.