private void SendData(IPEndPoint endPoint, BDictionary data)
        {
            fDHTClient.Send(endPoint, data);

            /*var conn = fTCPClient.GetConnection(endPoint);
             * if (conn != null) {
             *  conn.Send(data.EncodeAsBytes());
             * }*/
        }
示例#2
0
        private void SendData(IPEndPoint endPoint, BDictionary data)
        {
            fDHTClient.Send(endPoint, data);

            fTCPClient.Send(endPoint, data.EncodeAsBytes());
        }