Running webtorrent js in browser

三世轮回 提交于 2019-12-11 07:59:26

问题


So that the webtorrent works in the browser is it necessary to be running a webtorrent desktop server for example? Utorrent customers do not have this feature?


回答1:


Webtorrent in a browser can only talk to other clients via WebRTC, i.e. it is not compatible with the TCP and uTP transports and UDP-based DHT used by real bittorrent clients, hence it will not provide the same connectivity as a desktop application.

Additionally browsers lack many other system APIs, so they can't match the capabilities of native applications. Considering that bittorrent clients are in the business of managing many large files and performing lots of IO that is quite an impedance mismatch.



来源:https://stackoverflow.com/questions/46995151/running-webtorrent-js-in-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!