mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: This is the next stage of our move of common interchange objects to NIOCore and out of the NIO module. This time around we need SocketAddress, which is part of the Channel API. Sadly, SocketAddress is not as clean as some of the other ports, because it leaks a number of POSIX-y concepts. This also forces us to bring along NIOBSDSocket, which ideally we would not move, but we foolishly exposed as API on SocketAddress. Modifications: - Move NIOBSDSocket API components into NIOCore. - Split out the internal abstractions for NIOBSDSocket and leave those in NIO. - Move SocketAddress into NIOCore. Result: SocketAddress will be sitting in NIOCore.