dotnet/runtime
Ver no GitHubMulticastInterface set to loopback index does not work on OSX
Open
#24.340 aberto em 4 de dez. de 2017
area-System.Net.Socketsbughelp wantedos-mac-os-x
Métricas do repositório
- Stars
- (17.886 stars)
- Métricas de merge de PR
- (Mesclagem média 12d 11h) (661 fundiu PRs em 30d)
Description
setsockopt with IP_MULTICAST_IF value should be a struct in_addr
This is call from https://github.com/dotnet/corefx/blob/8f8b04afb41156aba5530992e3ed062d8bfad611/src/System.Net.Sockets/src/System/Net/Sockets/SocketPal.Unix.cs#L1135
So far seems to me we are just passing an interface index as an integer when linux setsockopt expects and in_addr struct
[EDIT] Link the source code (don't reference master) by @karelz