Skip to content

added ability to read automatically assigned bound port #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 25, 2022

Conversation

graebm
Copy link
Contributor

@graebm graebm commented May 25, 2022

Issue: #77

Original PR: #78

Description of changes:
When IPC server is started on automatically configured port (0).
That change add ability to read real port number which socket bound to.

Co-authored-by: Vitaly Khalmansky [email protected]

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

bgklika and others added 2 commits May 19, 2022 22:42
Also change return type to uint16_6, which is the type we use for port. Having it return `int` makes it look an a function that can raise an error.
@graebm graebm merged commit 364e2fb into main May 25, 2022
@graebm graebm deleted the feature/get_bound_address branch May 25, 2022 20:37
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.

3 participants