Articles

Making Your Own Peer-to-Peer Chat Program


By Stephen Akiki

Akiscode Peer-to-Peer Chat More of an academic project than anything, this program is a true peer-to-peer (P2P) chat program meaning it does not require a central server to operate. The program works by using connectionless datagram packets sent out to a list of IP address that is constantly propagated throughout the entire "cloud". What that means in english is that whenever one person joins one "node", all the rest of the nodes are synced with the new IP address, all without a server.

As said before, this is academic code (as such there is only a command line version right now) and its main purpose is so I can build even more complex systems in the future.

For further help, either type in "help" (without quotes) in the program itself or see the video tutorial which I should have up soon.

Download Python Files here