Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to enable ut_pex? #1322
How to enable ut_pex? #1322
Comments
This comment has been minimized.
This comment has been minimized.
|
Hey @muneebm, As you mentioned, in the The module All the best. |
This comment has been minimized.
This comment has been minimized.
|
The |
This comment has been minimized.
This comment has been minimized.
|
Thanks to both of you for your responses. |
Hi All, ut_pex seems to be by default disabled for browser
// from package.json
"browser": {
"./lib/server.js": false,
"./lib/tcp-pool.js": false,
"bittorrent-dht/client": false,
"fs-chunk-store": "memory-chunk-store",
"load-ip-set": false,
"net": false,
"os": false,
"ut_pex": false
}
And the available options don't have one for enabling ut_pex
{
maxConns: Number, // Max number of connections per torrent (default=55)
nodeId: String|Buffer, // DHT protocol node ID (default=randomly generated)
peerId: String|Buffer, // Wire protocol peer ID (default=randomly generated)
tracker: Boolean|Object, // Enable trackers (default=true), or options object for Tracker
dht: Boolean|Object, // Enable DHT (default=true), or options object for DHT
webSeeds: Boolean // Enable BEP19 web seeds (default=true)
}
Is there any other way to enable ut_pex in webtorrent?
Sorry if it's a noob question and thanks in advance for any help!