P2P library for C++ [closed]

和自甴很熟 提交于 2019-12-02 15:31:22

libtorrent.org build on top of boost, boost-asio is a library for P2P work good for me. It implement BitTorrent protocol, using TCP for transport data, TCP/UDP for peer exchange.

libnice - Implements ICE protocol.

One possible option is our MsgConnect product. Open-source license is available.

libjingle can be a pain to compile,but it's very powerful and the api is pretty straight forward, the sample applications help you learn and understand it better.

Tribler.org:

it a cross-platform p2p client but it offer its open source API as well. It implements many non standard features like P2P video streaming, DHT, Merkle Hashes, repex, NAT and firewall puncturing, ...

Its engine is part of an European-founded video streaming project: p2p-next.

Unfortunately it's written in python, but you can wrap it in c++ or even generate c++ libraries out of python.

Alternatively: libswift

I like SDL_net. It manages both UDP and TCP communication protocols. It is available for MAC, WINDOW & LINUX distributions, lightweight and quite easy to implement.

Its website is not the best looking but has good documentation with demos, you can get inspired from.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!