Esempio n. 1
0
        public Server(int port, Blockchain.Blockchain chain)
        {
            UPnP upnp = new UPnP(port);

            DataServer.Initialize(IPAddress.Any, port, chain);
            this.Init();
        }
Esempio n. 2
0
 public Server(int port, Blockchain.Blockchain chain)
 {
     UPnP.init(new int[1] {
         port
     });
     DataServer.Initialize(IPAddress.Any, port, chain);
     this.Init();
 }