Exemple #1
0
        public void Test_CreateHandshakeResponse()
        {
            var tid    = DHTHelper.GetTransactionId();
            var nodeId = DHTHelper.GetRandomID();
            var msg    = ProtocolHelper.CreateHandshakeResponse(tid, nodeId);

            Assert.IsNotNull(msg);
            // TODO: test contents
        }