delete comments

svn path=/trunk/; revision=29006
This commit is contained in:
Ged Murphy
2007-09-11 13:06:20 +00:00
parent b7d1b4a8f8
commit 2f0dcbcdef
+2 -13
View File
@@ -37,17 +37,6 @@ SetUpListener(USHORT Port)
return INVALID_SOCKET;
}
/* note: consider allowing a maximum number of connections
* A number of threads can be allocated and worker threads will
* only be spawned if a free space is available
typedef struct _WORKER_THREAD {
DWORD num;
BOOL available;
HANDLE hThread;
} WORKER_THREAD;
*/
static VOID
AcceptConnections(SOCKET ListeningSocket,
@@ -62,13 +51,13 @@ AcceptConnections(SOCKET ListeningSocket,
INT nAddrSize = sizeof(Client);
DWORD ThreadID;
TCHAR buf[256];
INT TimeOut = 2000; // 2 seconds
INT TimeOut = 2000;
/* set timeout values */
TimeVal.tv_sec = TimeOut / 1000;
TimeVal.tv_usec = TimeOut % 1000;
while (! bShutDown) // (i<MAX_CLIENTS && !bShutDown)
while (!bShutDown)
{
INT SelRet = 0;