proxytoworld
V2EX  ›  C++

想用 c/c++实现一个 dht 爬虫,组建 dht 网络,有现成的 dht 库吗,最好没有外部依赖

  •  
  •   proxytoworld · Jul 9, 2024 · 2671 views
    This topic created in 849 days ago, the information mentioned may be changed or developed.

    如题,我查询到有 libp2p 但没啥 api 文档,貌似太复杂了

    3 replies  •  2024-07-09 23:22:48 +08:00
    KagurazakaNyaa
    KagurazakaNyaa
    Jul 9, 2024
    1
    试试用关键字“Kademlia”搜索,很多 dht 实现是直接用算法名的
    mioktiar56
    mioktiar56
    Jul 9, 2024
    2
    参考 libtorrent 的实现了?
    cppc
    cppc
    Jul 9, 2024
    3
    一起看过有一个 Go 的爬虫,或许对你有用 https://github.com/shiyanhui/dht
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1285 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:42 · PVG 04:42 · LAX 12:42 · JFK 15:42
    ♥ Do have faith in what you're doing.