Not sure if this project is still under active-development, but you could definitely use Swift-NIO as the socket library for BitTorrentSwift to make it a pure Swift codebase, for use on Linux, and for use with web servers underpinned by NIO, as well.
Not sure if this project is still under active-development, but you could definitely use Swift-NIO as the socket library for BitTorrentSwift to make it a pure Swift codebase, for use on Linux, and for use with web servers underpinned by NIO, as well.