![]() |
Small Peer to Peer Program for school
Hello everybody. My teacher asked me to try and mak a small p2p program where students could dl their projects from home and work on them. This is what I'm needing so far.
1. Allow peopel outside to search all the computers on the network that has the p2p program installed. I don know how to do this I need the results to display in a listbox and then the user can dbl clikc them and it will start to dowbload to the My Projetcs Folder. Then I need it where if for some reason the computers are turned off and no1 can search ofr them then any1 who is online and has the progrsam installed and has what the person is searching for i will be able to download form them? If you don't understand let me know because I dont think I was very clear. lol Thanks again yall |
Good luck with this one man!
|
Thanks alot.
HOW ABOUT NEXT TIME YOU HELP A LIL BIT????? HMMM? THINK YOU CAN DO THAT????? WHY I OUGHTA. No I'm joking I know this is prolly gonan be hard, but it could be fun to. Thanks again, Try to leave me soem help next time though.lol |
I'd probably go with C# for this.... but its just a personal opinion.
Quote:
Quote:
Quote:
Maybe that's enough to get you started. |
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? |
VB.Net will probably get the job done. I am assuming you know sockets in VB? If not you have a lot of learning to do. You might also want to learn how to read/write to a database in VB using SQL statements. I have no clue what your programming level is, but that project would be a huge for one person.
|
Quote:
Even creating a P2P network that manages to route most of the packets, most of the time, is not an easy task. Routing algorithms that allow for both redundacy and efficiency are not something a beginner can get to grips with straight away. Decentralised P2P networks are not trivial to develop. |
Quote:
http://img357.imageshack.us/img357/5015/untitled4hd.jpg 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. |
Quote:
However, the problem with the approach is that it requires a lot of redundancy. You need at least one of the peers on the list to accept connections. In a large P2P network with millions of nodes, and a list of thousands of "gateway" IP addresses, this poses no problem. On a smaller network, more problems arise. |
Quote:
Aside from the argument of whether or not something is truly a 'centralized' server perhaps you could get around this restriction by using a pre-existing centralized server. Google Talk (Google chat?) uses an open standard, and I'd imagine if you took the time and effort layering a P2P transfer on top of the existing framework, something similar to Aol Instant Messengers (AIM) file swap. -MBirchmeier note: I know in early version of AIM such a transfer was possible, in addition to 'send' file functionality a 'get' file functionality could be setup as well to keep a direcotry of shared files. I believe this functionality was at one time removed for security reasons, but it may have been added back in since. |
| All times are GMT -5. The time now is 7:42 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC