Beispiel #1
0
        public void Handle(byte[] buffer)
        {
            CGMessage cgMessage;

            CGMessage.TryParse(buffer, out cgMessage);
            processor.Process(cgMessage);
            Console.WriteLine("type your reply....");
            string replyMessage = Console.ReadLine();

            Socket.Send(Socket.GetMessage(replyMessage));
        }