Files
swift-nio/Sources
Johannes Weiss 15c1522cb4 NIONetworkInterface: Return if multicast is supported (#887)
this is a fixup and replacement of #650. We need to get this in because NIO converges.

Support for Interface to report if Multicast is supported. Channel can provide Error if Interface doesn't support Multicast.

Motivation:

Allows for checking if the interface you are setting up for Multicast even supports Multicast in the first place. In multiple projects we have done with Multicast it helps as we still run into some network managers that shutdown multicast support.

Modifications:

Interface exposes a new variable to determine if it supports Multicast.
performGroupOperation0 will check if interface is not nil and supports multicast, otherwise will throw error that the interface doesn't support Multicast

Result:

This should hopefully better inform if the Multicast attempt is going to even work.
2019-03-08 16:53:55 +00:00
..
2019-02-26 14:15:56 +00:00
2019-02-25 18:20:22 +00:00
2019-03-06 11:51:42 +00:00