摘要: ip-hash的算法 for (;;) { for (i = 0; i < 3; i++) { hash = (hash * 113 + iphp->addr[i]) % 6271; //iphp->addr[i]为ip的点分十进制法的第i段 } p = hash % iphp->rrp.peers 阅读全文
posted @ 2021-05-17 14:45 shiyunyier 阅读(1067) 评论(0) 推荐(0)