David Butler

Results 22 comments of David Butler

As this feature didn't make the RC/RTM (https://github.com/dotnet/aspnetcore/pull/42720) in .NET 7, could this PR be merged? If further testing is required I can assist.

I also have need of this for the use case of rendering a UI using Avalonia which is then sent to a USB device.

@navhaxs Looks good, I will test and verify with my use case!

Thanks for the information, I'll make a start and submit a draft PR for review when ready.

> distinguish unicast packets from multicast packet: probably not required, as long as we process them. Unfortunately, according to [RFC 6702 5.5](https://www.rfc-editor.org/rfc/rfc6762#section-5.5), this is required. The library should respond to...

So, have finally had some available time to complete phase one, I've just published a crate (https://crates.io/crates/socket-pktinfo) which provides a cross-platform way to consume the IP_PKTINFO. I will now work...

> Change the current multicast sockets to bind to mDNS multicast address only (instead of INADDR_ANY). The idea is that such sockets will not receive any unicast packets. AFAIK binding...

OK, actually looking at the `ServiceDaemon::new_socket_bind` function now, I'm slightly surprised that every socket is created bound to INADDR_ANY and then the interface is selected by calling `set_multicast_if_v4`. My present...

Could you post a minimal example patch so I can try and replicate?