This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Is possible..

Tags: None
(comma "," separated)
imported4-DeViL
Registered Member
Posts
104
Karma
0

Is possible..

Sun Dec 11, 2005 9:38 pm
Is possible connection between ktorrent and ktorrent ( a seeder and a leecher ) ?
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Mon Dec 12, 2005 1:11 am
Afaik, KTorrent does not have a tracker back-end, which I do believe would be necessary to do this. :)
George
Moderator
Posts
5421
Karma
1

Mon Dec 12, 2005 7:07 pm
It certainly is possible, but not by the same user on the same machine, you can't run 2 instances of KT. It would be bad if KT wasn't able to do this.
imported4-DeViL
Registered Member
Posts
104
Karma
0

Mon Dec 12, 2005 8:27 pm
With my friend I tested that and We couldn't connected one time He to me and second time I to him.We both are from the same network..
ricce_n
Registered Member
Posts
36
Karma
0

Mon Dec 12, 2005 8:58 pm
DeViL wrote:With my friend I tested that and We couldn't connected one time He to me and second time I to him.We both are from the same network..


You need a tracker... a short summery how the BitTorrent protocol is working:

A tracker keeps track of what clients that are in the swearm - when a new client connects this client gets a list of randome selected clients from the swearm. This client then try to open a connection to those clients - this is done widout end user specefying the client to connect to - When clients are connected to each other they request for data and sharing already downloaded data over the same connection.

The tracker hove NO DATA att all - it just keeps track of what clients that are connected. In other words to be able to download data a client with already the file downloaded need to connect to the swaerm.


In other words there are mainly three alternatives if you want to transfere data between two clients on the same (fast) network:

1. Use an exsiting torrent and both connect to the same tracker, and hope the trackers randome function will get you conected to each other.

2. Create a torrent by your self (or change the anounce (tracker) URL in a exsiting torrent) to a tracker you host your self - if there only is two clients they will liklely get connected to each other.

3. This is by far the best allternative - don't use BitTorrent at all - there is a lot of protocols that are both faster and esaer the BT for file transfere on a fast local network, (ftp, nfs, samba etc)
imported4-DeViL
Registered Member
Posts
104
Karma
0

Mon Dec 12, 2005 9:11 pm
I ask this because I have a reson.My goal isn't to share files between computers in one network.
ricce_n
Registered Member
Posts
36
Karma
0

Mon Dec 12, 2005 9:32 pm
DeViL wrote:I ask this because I have a reson.My goal isn't to share files between computers in one network.


The what is your goal??

If you want to distrubute data throw BitTorrent you need a tracker (or use a public tracker that accepts your files).

We look more closely in to what a tracker is - if you have a program that can check the meta data in the torrents, you will find one or more announce URL's
for example: http://tracker.prq.to/announce
This is how it look like just a ordenary http (www) URL - and you can try to enter it in your webbrowser (witch will most liklely end with a nonsens message due to missing GET variables)

If you are going to distrubute file using BitTorrent you need a webserver (httpd) that can do two things:
1. Work as a tracker.
2. Distrubute the metadatafiles (.torrent)

The tracker can be a standalone applikation or a CGI module in the webserver.

The tracker itself dosen't have much activity - each client request a small amount of data half a hour.


An alternative is to disstrubute your data throw DHT (this isn't supported by ktorrent) - the you don't need any tracker att all the clients will find each other by an alternative methode. - those torrents are usualy called tracker less torrents.

What KTorrent CAN do:
When you get your tracker working you can use KTorrent to create the metadata file (.torrent) - you can also use KTorrent as the firs seeder.


Future reading:
http://www.bittorrent.com/guide.html


There are already a lot of sites out there that alows you to use there tracker and there site to disstrubute your metadata files. - If you just going to relese a few torrents it can be a good idea to use any of those sites.
imported4-DeViL
Registered Member
Posts
104
Karma
0

Tue Dec 13, 2005 5:36 pm
See this http://ktorrent.pwsp.net/forum/viewtopi ... 00&start=0 and you will understand what is my goal..
George
Moderator
Posts
5421
Karma
1

Tue Dec 13, 2005 5:42 pm
DeViL wrote:With my friend I tested that and We couldn't connected one time He to me and second time I to him.We both are from the same network..


In that case you have to be lucky that the tracker sends your friends IP address and your friend gets your IP address from the tracker.
imported4-DeViL
Registered Member
Posts
104
Karma
0

Tue Dec 13, 2005 8:03 pm
I was tested it with old version.Own ip was the same (the ip of the router).With new option to send a specific ip to the tracker We haven't test.it.It may be help?
George
Moderator
Posts
5421
Karma
1

Wed Dec 14, 2005 5:20 pm
DeViL wrote:I was tested it with old version.Own ip was the same (the ip of the router).With new option to send a specific ip to the tracker We haven't test.it.It may be help?


Sending your local IP to the tracker, is not gonna help much ...


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]