Quote:
|
Originally Posted by bigguy
I don't want to have a centralized server. I want it where it will search EVERYBODY or EVERYTHING that is online that has the program. I don't know if yall have heard of a p2p called Ares but thats what it does. it just searches all the computers that has the program installed looks in My Shared Folder, and then displays results in the Listbox
Also i dont know C# you think vb.net would be ok?
|
You obviously don't understand how p2p works. ALL p2p networks require a centralized server. All peers first connect to a centralized server, opening the required ports of each peer. The server then sends a list of all the other connected peers. Once this is done, the connection between the central server and all the peers stays open, but the data being sent between peers doesnt need to be passed through the central server. This is also known as decentralized communication. I'm not going to explain it because it would be a lot easier to just google for it. Go look at a few p2p programs, since they are almost all open-source for legal reasons. Here's a little picture that might give you an idea if you can understand it.
The first connection made is between the peer and the central server, after that, each peer has an open connection between one another, allowing data to pass through the network even if you have a router or in some cases, a firewall. Think of msn, aim, or any other messenger program. They use this method for sending files to one another so that the central msn server(s) don't get any of the load.