Example #1
0
        private static void TestSendAlot(SocketClient.EventSocket eventSocket)
        {
            ushort key    = 1;
            ushort subKey = 255;
            string data   = "this is some text 爸爸 ";
            int    count  = 10000;

            log4j.Info("TestSendAlot " + count);
            for (int i = 0; i < count; i++)
            {
                eventSocket.Send(key, subKey, data + ": " + i);
            }
            log4j.Info("finish");
        }
Example #2
0
 private static void Send_1_2(SocketClient.EventSocket eventSocket)
 {
     log4j.Info("sending 1_2");
     eventSocket.Send(1, 2, "this is some text 爸爸 ");
     log4j.Info("finish sending 1_2");
 }