-
April 28th, 2002, 03:30 AM
#1
P2P Programming
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.
-
April 28th, 2002, 03:48 AM
#2
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
Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”
-
April 28th, 2002, 03:23 PM
#3
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.
-
April 28th, 2002, 06:12 PM
#4
--------------------------
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.
Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”
-
April 28th, 2002, 07:46 PM
#5
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/books...R9TG8R325C8ST0
-
April 28th, 2002, 07:52 PM
#6
I'd use C++ and Probably use the port that kazaa uses.
-
April 29th, 2002, 02:28 AM
#7
Member
-
April 29th, 2002, 02:51 AM
#8
Member
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...
-
April 29th, 2002, 10:40 PM
#9
Thanks guys,
All those relpies really help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|