proxytoworld
V2EX  ›  C++

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

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

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

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