Search code examples
cframeworksp2p

Is there a P2P framework in c?


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 packages of data (metadata) between peers. The data packages should be distributed to every peer (every peer should have every data package).

Thanks


Solution

  • 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).