What is a good C ++ implementation of a peer-to-peer chat program with a server for assigning connections?
For a while, I was interested in building a proof-of-concept chat program using C ++. I thought about this a lot and even wrote about how I would design the system, but I ran into a barrier in my thinking when it comes to implementation.
I want to know what implementation of a peer-to-peer chat client with a server for routing connections would look like in C ++.
The server will be used as a central peer registry, but not used as the main connection. The server will not interact with clients in any way other than assigning peer-to-peer connections to achieve an optimal path between peers. In the first version, it is simply a directory that all clients connect to, and clients can then use this directory to connect to other chat-enabled clients. (I hope this explains it a little more.) :)