Esempio n. 1
0
 public SocketServerTest()
 {
     m_testTimer = new Time();
     m_list = new List();
 }
Esempio n. 2
0
            public ProcessClientRequest(Socket clientSocket, Boolean asynchronously, Time timer, List list)
            {
                m_clientSocket = clientSocket;
                m_testTimer = timer;
                m_list = list;

                if (asynchronously)
                {
                    SocketServerTest.m_totalThreadCount++;
                    new Thread(ProcessRequest).Start();
                }
                else
                {
                    ProcessRequest();
                }
            }