Set Up SwiftNIO
SwiftNIO is a cross-platform asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. https://github.com/apple/swift-nio 1 2 3 4 5 6 7 8 9 10 sudo apt-get install zlib1g-dev su swift cd ~ git clone https://github.com/apple/swift-nio.git cd swift-nio swift build .build/debug/NIOHTTP1Server <server_ip> 8080 swift build -c release .build/release/NIOHTTP1Server <server_ip> 8080