Skip to content
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

Add option to bind connect endpoint ports to a given socket_address #1810

Open
OlivierHecart opened this issue Mar 4, 2025 · 0 comments
Open
Assignees
Labels
new feature Something new is needed

Comments

@OlivierHecart
Copy link
Contributor

OlivierHecart commented Mar 4, 2025

Describe the feature

Add a bind Endpoint config option. For example:
tcp/192.168.0.10:7447#bind=192.168.0.5:0

When this option is set to a connect/endpoint Zenoh should call the system bind() function with the given socket address on the created socket before connecting to the remote address.
This should work for IP based links: (TCP, UDP, Quic, TLS).

@OlivierHecart OlivierHecart added the new feature Something new is needed label Mar 4, 2025
@OlivierHecart OlivierHecart changed the title Add option to bind TCP client ports to a given socket_address Add option to bind connect endpoint ports to a given socket_address Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Something new is needed
Projects
None yet
Development

No branches or pull requests

2 participants