Exemplo n.º 1
0
        private void LoadUDP()
        {
            UDP            = new UDPSetting();
            UDP.Port       = Int32.Parse(App["udp"]["port"]);
            UDP.BufferSize =
                Int32.Parse(App["udp"]["port"]);

            UDPOffset = FileManager.GetOffset();
        }
Exemplo n.º 2
0
 public UDPManager(UDPSetting setting)
 {
     this.udpSetting = setting;
     this.udp        = new UDP(setting);
     get_offset      = FileManager.GetOffset();
 }