-
Notifications
You must be signed in to change notification settings - Fork 256
Set Socket interface using interface index #458
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
Labels
Milestone
Comments
A pr for this would be welcome. We'll have to look at how the |
boris-n
added a commit
to boris-n/socket2
that referenced
this issue
Apr 22, 2025
boris-n
added a commit
to boris-n/socket2
that referenced
this issue
May 24, 2025
boris-n
added a commit
to boris-n/socket2
that referenced
this issue
May 24, 2025
boris-n
added a commit
to boris-n/socket2
that referenced
this issue
May 24, 2025
boris-n
added a commit
to boris-n/socket2
that referenced
this issue
May 24, 2025
boris-n
added a commit
to boris-n/socket2
that referenced
this issue
May 28, 2025
boris-n
added a commit
to boris-n/socket2
that referenced
this issue
Jun 2, 2025
boris-n
added a commit
to boris-n/socket2
that referenced
this issue
Jun 2, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In C, one can set a socket's interface using
setsockopt(socket, SOL_IP, IP_MULTICAST_IF, &mreqn, sizeof(mreqn))
wheremreqn
issockets2 offers the
set_multicast_if_v4
function, but only accepts an address as parameter. I would like to set the interface using sockets2 based on an interface index.The text was updated successfully, but these errors were encountered: