Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 30th, 2006, 9:09 PM   #1
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
Decentralized distribution

I've been interested in decentralized distribution lately and was planning on creating my own server based on it. I have read up on bittorrents but most are done in java and python, couldn't find any opensource C++ bittorrents. Would it be possible to create this type of server using the socket types that beej's tutorial talks about or does this type of server have it's own type of socket and a whole different way of doing things? Well, I know this would be different, but i mean just the connecting to the main server from a client.
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Jan 30th, 2006, 9:22 PM   #2
nindoja
Programmer
 
Join Date: Jun 2005
Posts: 92
Rep Power: 4 nindoja is on a distinguished road
Here is an open source c++ bittorrent program:
http://libtorrent.rakshasa.no/

Check the "Browse Source" under /trunk/rtorrent/src/
nindoja is offline   Reply With Quote
Old Jan 30th, 2006, 9:37 PM   #3
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
Hmm, I've never heard of this client before. I am going to have to use it just because it's C++ lol.

I shouldn't really say open source bittorrents either. That's kind of a given considering if a bittorrent was closed source the author would most likely be sued.
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Feb 1st, 2006, 12:00 PM   #4
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Why? The protocol is open; if you write your own client based on the BT protocol without using the official client's source code, it's perfectly legit. My favourite BT client, uTorrent, is closed-source.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Feb 1st, 2006, 2:23 PM   #5
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by Ooble
Why? The protocol is open; if you write your own client based on the BT protocol without using the official client's source code, it's perfectly legit. My favourite BT client, uTorrent, is closed-source.
Indeed, as protocols go, Bittorrent's is surprisingly simple. There's a page describing the protocol in detail, here.
Arevos is offline   Reply With Quote
Old Feb 2nd, 2006, 9:42 PM   #6
Cool1Net6
Newbie
 
Cool1Net6's Avatar
 
Join Date: Aug 2005
Location: Florida, U.S.A.
Posts: 10
Rep Power: 0 Cool1Net6 is on a distinguished road
Hmm... uTorrent is closed-source ... somehow I didnt know that.

-Cool-
__________________
"Give a programmer enough pizza and coke they'll do anything you want."
Cool1Net6 is offline   Reply With Quote
Old Feb 3rd, 2006, 1:11 AM   #7
clsk
Newbie
 
Join Date: Jan 2006
Posts: 13
Rep Power: 0 clsk is on a distinguished road
I think you should finish that c++ book before you get into that . You keep trying to get ahead of yourself.
clsk is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:15 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC