You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ooh, great question! SockLevel is actually dead code. AFAICT, its use was eliminated way back in PR #133 . So we should delete it. But what you probably ought to do is submit a PR that adds this socket option using sockopt_impl! to src/sys/socket/sockopt.rs.
nix/src/sys/socket/mod.rs
Line 1585 in d922c72
I cannot find how
SockLevel
is used in the code. For example,setsockopt
did not have a level argument:nix/src/sys/socket/mod.rs
Line 1639 in d922c72
How can we use
SockLevel
? I have a use case that needs to do something like this (not real code):I cannot find
IP_MULTICAST_IF
in Nix either. Did I miss it somewhere? Thanks.The text was updated successfully, but these errors were encountered: