Torrent Search

forum.utorrent.com

µTorrent Community

You are not logged in.

Announcement

This forum is NOT for help with anything you've downloaded! Ask for help with downloaded files and the thread will be deleted.
Posting about any illegal sharing of copyrighted content is strictly FORBIDDEN.
Read the forum rules before posting. Save us some time and energy.

#1 2009-10-29 20:06:47

Louif
Member

Local Peer Discovery Documentation

Is there any documentation about "Local Peer Discovery" that would allow inter-client interoperability ?

Offline

 

#2 2009-10-30 01:33:23

schnurlos
Moderator / Translator

Re: Local Peer Discovery Documentation

http://download.utorrent.com/utorrent-help.zip and search for LPD:

LPD (Local Peer Discovery)
A method by which µTorrent attempts to discover new peers local relative to your computer's network. Local Peer Discovery makes use of IP multicast.

And some googling:
http://www.superjason.com/archive/2007/ … ature.aspx
http://www.bittorrent.com/btusers/guide … _Discovery

And why should that feature be interchangeable?
It just indicates peers within you network by IP or ISP.

Last edited by schnurlos (2009-10-30 01:34:44)

Offline

 

#3 2009-10-30 05:59:13

Ultima
Administrator

Re: Local Peer Discovery Documentation

... Louif isn't asking what LPD is -- he's asking for implementation details on LPD so that other clients can also implement it.

@Louif: There are no public specs that I know of.

Offline

 

#4 2009-10-30 10:59:17

arvid
BitTorrent Developer

Re: Local Peer Discovery Documentation

in short: join the multicast group 239.192.152.143:6771 and listen for SSDP messages. Every 5 minutes, announce yourself to the multicast group by sending this message:

snprintf(msg, 200,
  "BT-SEARCH * HTTP/1.1\r\n"
  "Host: 239.192.152.143:6771\r\n"
  "Port: %d\r\n"
  "Infohash: %s\r\n"
  "\r\n\r\n", listen_port, ih_hex);

listen port is the port you accept incoming bittorrent connections on, ih_hex is the info hash of the torrent hex encoded.

more details:

http://libtorrent.svn.sourceforge.net/v … iew=markup

If you'd like to write a BEP for this (to be published on bittorrent.org), please send it to editor@bittorrent.org and I can put it up.

Offline

 

#5 2009-10-30 17:42:04

Louif
Member

Re: Local Peer Discovery Documentation

Thanks, this is very interesting information. I think I will be submitting a BEP, but I still need some time to think about this.

Offline

 

#6 2009-11-02 15:32:44

jch
Member

Re: Local Peer Discovery Documentation

Interesting -- so you're using a protocol that's not BEP-26.

Last edited by jch (2009-11-02 15:33:24)

Offline

 

#7 2009-11-02 16:00:57

Firon
Administrator

Re: Local Peer Discovery Documentation

I don't believe anyone ever implemented BEP26.

Offline

 

#8 2009-11-02 16:19:25

Ultima
Administrator

Re: Local Peer Discovery Documentation

Not necessarily an excuse, but to be fair...

--- 2007-04-05: Version 1.7 (build 1065)
- Feature: Local Peer Discovery

http://bittorrent.org/beps/bep_0026.html wrote:

Created:    10-May-2008

Offline

 

Board footer

Powered by FluxBB