mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
Motivation: MultcastChannel is a general abstraction for expressing multicast capabilities on a given Channel. This abstraction doesn't have any particularly tight tie to the POSIX layer, so it belongs in NIOCore. This is also expressed in terms of NIONetworkDevice, so we need to move that over. That also encourages us to bring over System.enumerateDevices, and given that System.coreCount is also fairly general-purpose we may as well bring it along too. Modifications: - Move MulticastChannel to NIOCore - Move NIONetworkDevice to NIOCore - Move System to NIOCore Result: More general-purpose abstractions in NIOCore.