char temp[256]; int Error; int ErrorCode; while(1) { char*Msg = pAdmin[User].cSock.ReadClientMessage(&Error,&ErrorCode); ReadMessage(&Error,&ErrorCode); if (Msg==NULL) break; //////////////////////////////// #ifdef _PACKET_DEBUG MSG_STANDARD * debug = (MSG_STANDARD*) Msg; if (BASE_CheckPacket(debug)) { sprintf(temp,"err packet Type:%d Size:%d",debug->wType,debug->wPDULength); Log(temp,"-system",0); } #endif
pAdmin[User].cSock
CPSock
ReadClientMessage
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)