Click to See Complete Forum and Search --> : P2P Programming
frednirk
April 28th, 2002, 04:30 AM
Hi Guys,
I need your opinion on a few things.
I am thinking about writing a P2P chat and file sharing program. However i need a bit of help.
1. Wot language would be the best for this? (im thinking VB)
2. Wot port to use to send the files?
3. And where would I find good references to get me started
(feel free to add ne other comments that may help)
I neone can help, i will be greatful.
Tedob1
April 28th, 2002, 04:48 AM
1) vb is a monster its as portable as a glacial deposit. cpp or java would be better but that all depends on what you plan to do with it. the easiest way is the way you know.
2) any unused port will do, kazaa used 1214 because it was there.
3) freshmeat
check out the source code for gnutella or morphius
jethro
April 28th, 2002, 04:23 PM
I don't think vb would be a very good choice. Try using C++. Java would probably be a bitch to write one of these programs, because I'm pretty sure that the source code for the open-source file-sharing programs are written in C++ if you wanted "inspiration" :)
I don't think the port matters that much. As long as it isn't an infamous Trojan Port.
Yeah, as Ted said, check ou the source code for other P2P proggies.
Tedob1
April 28th, 2002, 07:12 PM
--------------------------
I don't think the port matters that much. As long as it isn't an infamous Trojan Port.
--------------------------
what great advise. using the same port as a trojan could be a real pain in the ass.
gstudios
April 28th, 2002, 08:46 PM
Limewire is written in Java, and I am pretty sure you can get the source for that.
Here are some books that deal with p2p and p2p programming:
http://shop.barnesandnoble.com/booksearch/results.asp?WRD=p2p&userid=66SRJYF9SW&mscssid=LFWHBJCMN59M8KKXULR9TG8R325C8ST0
JRoc
April 28th, 2002, 08:52 PM
I'd use C++ and Probably use the port that kazaa uses.
bilo86
April 29th, 2002, 03:28 AM
what does p2p stand for?
Custy_J
April 29th, 2002, 03:51 AM
bilo86>> P2P = peer to peer
My 2 cents.....
I'd use C++ for the code. Any port will work as long as no other program is using it...
frednirk
April 29th, 2002, 11:40 PM
Thanks guys,
All those relpies really help.