Beispiel #1
0
 public void Setup()
 {
     _counter = 0;
     _listener = new TestListener();
     _engine = new DhtEngine(_listener);
     _node = new Node(NodeId.Create(), new IPEndPoint(IPAddress.Any, 4));
     _handle = new ManualResetEvent(false);
 }
 public void Setup()
 {
     listener = new TestListener();
     node = new Node(NodeId.Create(), new IPEndPoint(IPAddress.Any, 0));
     engine = new DhtEngine(listener);
     //engine.Add(node);
 }