Jump to content

Local Peer Discovery Documentation


Recommended Posts

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:



And why should that feature be interchangeable?

It just indicates peers within you network by IP or ISP.

Link to comment
Share on other sites

in short: join the multicast group 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"


"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:


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.

Link to comment
Share on other sites

  • 4 weeks later...
  • 5 years later...


This topic is now archived and is closed to further replies.

  • Create New...