Exemple #1
0
            private static void ServerInstance_ClientIDEvent(int clientID, int PID)
            {
                int clientIndex;

                if (ClientInfoCollection.GetIPCOwner(clientID, out clientIndex))
                {
                    Interlocked.Exchange(ref myIPCClientList[clientID], clientIndex);
                    Interlocked.Exchange(ref myClientList[clientIndex], clientID);
                    Log.LogMessage(clientID, "Process ID = " + PID);
                }
            }