Skip to content

[feat] librqbit: support ephemeral ports when listening.#455

Merged
ikatson merged 1 commit intomainfrom
find-ephemeral-port
Jul 10, 2025
Merged

[feat] librqbit: support ephemeral ports when listening.#455
ikatson merged 1 commit intomainfrom
find-ephemeral-port

Conversation

@ikatson
Copy link
Owner

@ikatson ikatson commented Jul 10, 2025

Fixes #454.

The ephemeral port is found using OS (if TCP listen is enabled). It's possible, but very unlikely (given the sheer number of listen ports available), that uTP won't be able to bind to the same port. In this case uTP is disabled and error will be printed.

Fixes #454.

The ephemeral port is found using OS (if TCP listen is enabled).
It's possible, but very unlikely (given the sheer number of listen ports available), that uTP won't be able to bind to the same port.
In this case uTP is disabled and error will be printed.
@ikatson ikatson merged commit 2580c44 into main Jul 10, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error starting listeners with ListenerOptions::default() autocompletion

1 participant