WEBSITE NOT LOADED CORRECTLY

PLEASE NOTE: If you see this text, it means that certain resources could not be loaded and the website is not displayed correctly. This can happen when browsing on Apple devices (iPhone, iPad etc.) due to a bug in their software. Try the refresh button to reload this website, or use a different device not running Apple's iOS. Stop using Apple products.
Type what you’re looking for and press Enter.

Building a Chat Application using the QuantumGate P2P Networking Library

I published a new tutorial showing how to build a simple chat application on top of QuantumGate. You can read the full tutorial over at the CodeProject website. I’ve also given this sample application its own repo on GitHub where the full source code is available along with instructions, and pre-built releases that people can try out without having to build the project themselves.

Screenshot of the ChatApp built on top of QuantumGate

I’ve kept the application very basic to show people how to get started using QuantumGate and not overwhelm them with the code. If you look at the source code, you’ll see that most of the code is for handling the user interface updates, while the code required to run the QuantumGate local instance and the custom chat extender are very minimal. This shows how fast developers can get started building applications on top of QuantumGate, not having to worry about the low level networking and cryptography details and letting QuantumGate handle that for them.

I spent around 4 days making this sample, most of which was spent on reading up on the new C++/WinRT framework that I used for the user interface. I wasn’t yet familiar with that latest framework from Microsoft so it was also an opportunity for me to take a closer look at it. I plan on using that framework for a similar, much more serious chat application in the future.

As it is now, all communication using this chat application is compressed and encrypted. With just a few lines of extra code you can add cover traffic and padding to make traffic inspection/analysis more difficult and even include relayed connections for extra privacy and security. A good follow up exercise for anyone who wants to continue to build on top of this sample project.

Comments

There are 0 responses. Follow any responses to this post through its comments RSS feed. You can leave a response, or trackback from your own site.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.