Registered Member
|
Is possible connection between ktorrent and ktorrent ( a seeder and a leecher ) ?
|
Registered Member
|
|
Moderator
|
|
Registered Member
|
|
Registered Member
|
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) |
Registered Member
|
|
Registered Member
|
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. |
Registered Member
|
See this http://ktorrent.pwsp.net/forum/viewtopi ... 00&start=0 and you will understand what is my goal..
|
Moderator
|
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. |
Registered Member
|
|
Moderator
|
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]