27 swprintf(logBuf,
L"Discard: Received %d bytes from client", readBytes);
35 }
while ((readBytes > 0) && (!
bShutdown));
VOID LogEvent(LPCWSTR lpMsg, DWORD errNum, DWORD exitCode, UINT flags)
static BOOL ReceiveIncomingPackets(SOCKET sock)
DWORD WINAPI DiscardHandler(VOID *sock_)
VOID WINAPI ExitThread(IN DWORD uExitCode)
INT WSAAPI recv(IN SOCKET s, OUT CHAR FAR *buf, IN INT len, IN INT flags)
BOOL ShutdownConnection(SOCKET sock, BOOL bRec)
int PASCAL FAR WSAGetLastError(void)