Author: gedmurphy
Date: Tue Sep 11 17:06:20 2007
New Revision: 29006
URL:
http://svn.reactos.org/svn/reactos?rev=29006&view=rev
Log:
delete comments
Modified:
trunk/reactos/base/services/tcpsvcs/skelserver.c
Modified: trunk/reactos/base/services/tcpsvcs/skelserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/tcpsvcs/skel…
==============================================================================
--- trunk/reactos/base/services/tcpsvcs/skelserver.c (original)
+++ trunk/reactos/base/services/tcpsvcs/skelserver.c Tue Sep 11 17:06:20 2007
@@ -37,17 +37,6 @@
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 @@
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;