Bittorrent

This is a discussion on Bittorrent within the Networking/Device Communication forums, part of the General Programming Boards category; I'm planning to create a small bittorrent client. I want this one to be my school project. Someone said it ...

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    64

    Bittorrent

    I'm planning to create a small bittorrent client. I want this one to be my school project. Someone said it is really hard to create. Is it true?

    I want to make it very simple. Anyone here knows where should I start?

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,627
    Well, I suppose the first steps would be to learn network programming (are you familiar with it?) and getting familiar with the bittorent protocol (there should be some links on google?).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    64
    Nope. I'm not familiar with network programming but I'm willing to study it. What's with the bittorrent protocol? Is it different from network programming itself? Is it a library or something?

    Thanks

  4. #4
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,627
    The bittorent protocol specifies how bittorrent works.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Dae
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by sarah22 View Post
    Someone said it is really hard to create. Is it true?
    Yes, if hard == lot of work. Learning networking and protocols is no small task. Once you're past that stage it's not all that complicated, but does involve a fair amount of work if you want all the features.

    That's why you don't reinvent the wheel. Check out the libtorrent library; it's amazing.

    The libTorrent and rTorrent Project

    I've seen custom implementations of the bittorrent protocol by professional companies (Blizzard's downloader) and often times they fail in comparison to a simple libtorrent application.

    It's also not "hard." With libtorrent you're working at a higher level and don't have to learn the bittorrent protocol, but it helps to know what it is and how it's working for you.

    BitTorrent (protocol) - Wikipedia, the free encyclopedia
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BitTorrent download rate oscillating strangely
    By brewbuck in forum Tech Board
    Replies: 4
    Last Post: 04-29-2007, 10:35 PM
  2. Parsing bittorrent metafile..
    By apsync in forum C Programming
    Replies: 10
    Last Post: 09-06-2006, 06:16 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21