int main(int, char**) { HttpServer server; server.start(); server.setSink(&handler); server.bind("localhost", "8080"); server.bind("localhost", "8081"); server.bind("localhost", "8082"); while (true) std::this_thread::sleep_for(std::chrono::milliseconds(100)); }