开发者

Is there a P2P framework in c?

开发者 https://www.devze.com 2023-04-12 16:54 出处:网络
I try to implement some p2p functionality with c. Is there any kind of framework? What do you think taking libtorrent (http://libtorrent.rakshasa.no/) and do some adaptation there?

I try to implement some p2p functionality with c. Is there any kind of framework?

What do you think taking libtorrent (http://libtorrent.rakshasa.no/) and do some adaptation there?

Or does anyone knows a good c framework/library?

Update 1: More precise: i'd like to share small pac开发者_如何学运维kages of data (metadata) between peers. The data packages should be distributed to every peer (every peer should have every data package).

Thanks


Chimera is the successor to Tapestry, one of the original 4 P2P overlay networks (along with CAN, Pastry, and Chord). It's written in C: http://current.cs.ucsb.edu/projects/chimera/

Note that this is a base-level overlay network that you can build other stuff on top of (like messaging or file sharing).


If you are trying to simulate P2P then this link(P2PSim) might be helpful http://pdos.csail.mit.edu/p2psim/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号