Skip to content

Request peers from Bittorent DHT network

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

h04x/dht-get-peers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dht-get-peers

Request a peers from Bittorent DHT network BEP05

Example

use dht_get_peers::get_peers;

fn main() {
    // debian-11.6.0
    let info_hash = b"\x6d\x47\x95\xde\xe7\x0a\xeb\x88\xe0\x3e\
         \x53\x36\xca\x7c\x9f\xcf\x0a\x1e\x20\x6d";

    dbg!(get_peers(*info_hash));
}

About

Request peers from Bittorent DHT network

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages