Results 1 to 11 of 11

Thread: Would it be possible to....

  1. #1

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253

    Would it be possible to....

    make a File sharing program like kazaa in Delphi or VB? I dont want to make anything illegal, or infringe blah blah. The reason being, is i want to make a personal P2P program, so all my mates can share files between each other, no more than 15 people will use the program, and it wont be available for download publically anyway. Only my mates will have access to the program. So is it possible, simply put? And if so, what is involved in it?

  2. #2
    Lively Member rotcrules's Avatar
    Join Date
    Mar 2004
    Location
    SD
    Posts
    113
    why dont you just get kazza and only trade with the friends?

    or if you wanted to get XP PRO and use the Remote Desktop?
    [Vbcode]If YourOpinion = WindowsIsCrap Then
    Kill Wndows
    Open Linux
    ElseIf YourOpinion = WindowsIsGreat Then
    Unload Me
    Else
    Get MSNTV
    End If[/vbcode]

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    I'm sure there are no less than 350 billion example projects here and on PSC. Take a gander at them

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  4. #4

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Is this legal? I only want it for sharing files with friends, i dont want to host it Nationwide

  5. #5
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654
    There are such sharing programs already, some work more like FTP, some include chat and so on... Search and you'll eventually find something already working

  6. #6
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879
    It's actually possible to make a program like kazaa in VB but it takes some good software engineering skills.

    I know that the main feature you're after includes multiple source downloading. Mutliple source downloading: the feature where when you download 1 file from one person, it starts downloading parts of the file from other people in order to maximize download speed. That may be the tricky part since you're gonna have to think it through and get many bugs in the process.

    The best way to accomplish such a program is to use winsock API rather than the winsock control itself since it's too slow and merges packets together :S. In addition, winsock api can be handled much simpler programatically than the control since you must create multiple isntances of the control, etc.
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  7. #7
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959
    I disagree about the control being slow and if you can live without the feature that allows you to download parts of the file from different people then pretty simple really.

  8. #8
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654
    Actually working with the control is rather messy: it doesn't work as expected all the time. It is barely good enough for an IRC client, I couldn't even dream making a proper server with it. So yes, I'd suggest API too, even though I haven't played around with it myself. I remember there is a nice WinSock API demonstration at PlanetSourceCode.

  9. #9
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879
    Haha, I actually have alot of experience with the winsock control and you can make it work for a few extra lines of code. But who wants to do more work when there's something more efficient already available to them. If you're gonna use the winsock control, you're gonna have to make sure that each send is complete before sending the next part. Else, the packets merge and make mumbo jumbo out of plain english! I made a server that controls the computer once and to tell you the truth, it bugged out so many times, it's rediculous. I just didn't have the patience to work with the winsock control. Creating a control for every application was a hassle. I should have started with API!
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  10. #10

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    This has gone Off Topic, oh well.

    Im not bothered about Mulitple source downloading if theres only going to be about 10-15 people using it, most of them have broadband anyway

    Cheers anyway

  11. #11
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171


    Has someone helped you? Then you can Rate their helpful post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width