Exemplo n.º 1
0
 protected override void OnStart(string[] args)
 {
     cfg = Config.sharedInstance();
     http = new HTTP();
     http.setPort(int.Parse(cfg.port));
     http.start();
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            cfg = Config.sharedInstance();
            http = new HTTP();
            http.setPort(int.Parse(cfg.port));
            http.start();

            while(true){}
        }