Exemplo n.º 1
0
        public void Setup()
        {
            Configuration.Encoding = System.Text.Encoding.Unicode;
            Configuration.RemoteIp = "127.0.0.1";
            Configuration.RemotePort = 10000;

            worker = new Simulator.Worker();
            worker.Start();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            Configuration.RemotePort = 10000;
            Configuration.Encoding = System.Text.Encoding.Unicode;
            Configuration.EndianBitConverter = MiscUtil.Conversion.BigEndianBitConverter.Big;

            var worker = new Worker();
            worker.Start();

            System.Console.ReadKey();


        }