a cross-platform P2P library