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