Yes. I have prior experience working with TCP, as a server and as a client. I know how to build networking, including multiclient, i understand that kind of examples. But i don't understand how to turn common server-client architechture into peer to peer.
For example. I have read a note that says that a user connects to a server of bootstrap holding all IP addresses of nodes. And each node handwires a connection to each node after it.
Is valid for a node to keep more than ten connections to other nodes as same time?? This means, that if network is of a 50 computers, then each node has 50 connections between themselves?? Can be this considered a little TCP peer to peer app??
I said copy the logic because i understand networking but i don't understand how networking left server-client and start to be peer to peer. Thanks for your help. I will to left you some links. https://www.geeksforgeeks.org/p2ppeer-to-peer-file-sharing/
This is the linux code that i have seen.
It starts two threads, one as server, and other as client. Is right to add a bootstrap server?? I want to make it in that way in this beggining. Of course the source apparently don't uses bootstrapping server. I am a Windows Programmer using MinGW, and i have no good experience adapting source codes. I will try to run it.
Assume that i understand the basics of a server-client app. (Winsock)
Thanks for your help.