Ejemplo n.º 1
0
        private void createInitialData(string IPPort)
        {

            string DstIp = IPPort.Substring(0, IPPort.IndexOf(':'));
            string DstPort = IPPort.Substring(IPPort.IndexOf(':') + 1);
            AsynchronousClient client = new AsynchronousClient();
            client.SetSingleMsg(DstIp, DstPort, InitialXMLString());
            Thread t = null;
            t = new Thread(new ThreadStart(client.SendSingleClient));
            t.Start();
            t.IsBackground = true;      
           
           /*
             *this is a part of Test1
            Console.WriteLine(InitialXMLString());            
             */
           
        }