Skip to content

Add support for only_networks#407

Merged
jhelovuo merged 4 commits intoAtostek:masterfrom
oxkitsune:gijs/localhost-only
Apr 24, 2026
Merged

Add support for only_networks#407
jhelovuo merged 4 commits intoAtostek:masterfrom
oxkitsune:gijs/localhost-only

Conversation

@oxkitsune
Copy link
Copy Markdown
Contributor

@oxkitsune oxkitsune commented Apr 14, 2026

What

Adds a with_only_networks builder method on DomainParticipantBuilder that restricts which local network interfaces the participant uses.

Useful when a host has multiple network interfaces and you want DDS traffic confined to a specific one (e.g. localhost-only in https://github.com/Atostek/ros2-client/)

@oxkitsune
Copy link
Copy Markdown
Contributor Author

@jhelovuo hey! what do you think of this implementation 😄

@jhelovuo
Copy link
Copy Markdown
Member

Thank you for the contribution! This has been on our todo-list for quite some time.

@jhelovuo jhelovuo merged commit beebbfc into Atostek:master Apr 24, 2026
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.

2 participants