The code needs to be relatively easy to read. It should be able to connect over 2 billion users with no performance issue. The information shared between people is structure of data(strings(up to 10 of them), unsigned int(up to 10 of them)) that is not larger than 64MB. New data should be spread across all computers in less than a minute.
The application needs to be cross-platform (needs to work on Windows, Linux, Mac OS). It needs to handle connection through NAT and firewall devices, relay servers, and proxies.
All of this is provided by the library so everything you need to do is to implement Libjingle functions to one working file which makes the computer behaving like a server and peer.
No GUI is needed.
Library link: [login to view URL]