Set Up SwiftNIO

SwiftNIO is a cross-platform asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.

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

GitHub Repository