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 upCole websocket connection under a condition #1239
Closed
Comments
This comment has been minimized.
This comment has been minimized.
|
You would need to detect IP changes on the seeder and make it disconnect. There must be packages to detect IP, you'd need to set an interval in which it's checked. |
This comment has been minimized.
This comment has been minimized.
|
Thanks @DiegoRBaquero |
This comment has been minimized.
This comment has been minimized.
|
Destroy the bittorent-tracker client, not the webtorrent client. See: https://github.com/webtorrent/bittorrent-tracker#client |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
when a seeder changes ip (e.g. switching from a vpn to another one) the websocket connection to the tracker is still available. I'd like to disconnect the seeder from the tracker when this happens. So my idea was to kill the websocket connection (on the seeder client I'm making). But I can't find how to do it.