The BonAHA library is a library that can be used for easily building rich P2P applications that can operate in a regular always-on network, an ad-hoc wireless network or even in a disconnected scenario.