Sunday, February 12, 2023

Tox, secure open source P2P communication


Decentralized Skype








Tox uses UDP for its underlying transport protocol. Tox was designed to be lightweight, fast, and secure, and using UDP helps to achieve these goals. Unlike TCP, which is a reliable transport protocol that requires that all packets be acknowledged, UDP is an unreliable protocol that does not guarantee delivery of packets. This means that packets can be lost or arrive out of order, but it also means that UDP is faster and less resource-intensive than TCP.

In Tox, the well-known servers that are used to start the initial communications are called bootstrap nodes. The bootstrap nodes are publicly accessible servers that are run by Tox community members and are used by Tox clients to join the Tox network and find other Tox clients.

When a Tox client starts up for the first time, it connects to one or more bootstrap nodes and uses them to join the Tox Distributed Hash Table (DHT). The DHT is a decentralized, distributed database that is used by Tox clients to find and connect to each other. Once the client has joined the DHT, it can use it to find other Tox clients and to publish its own IP address and public key so that other clients can find and connect to it.




Python3 client. 

Java Client. 

No comments: