P2P Programming
Results 1 to 9 of 9

Thread: P2P Programming

  1. #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.

  2. #2
    Senior Member
    Join Date
    Nov 2001
    Posts
    4,786
    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.’”

  3. #3
    Senior Member
    Join Date
    Nov 2001
    Location
    Ireland
    Posts
    735
    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.

  4. #4
    Senior Member
    Join Date
    Nov 2001
    Posts
    4,786
    --------------------------
    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.’”

  5. #5
    Senior Member
    Join Date
    Aug 2001
    Posts
    410
    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
    savIRC :: The Multi-Platform IRC Client v. 1.8 [Released 9.04.02]

  6. #6
    Banned
    Join Date
    Mar 2002
    Posts
    520
    I'd use C++ and Probably use the port that kazaa uses.

  7. #7
    what does p2p stand for?

  8. #8
    Member
    Join Date
    Mar 2002
    Posts
    52
    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...

  9. #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
  •