std::string listen_addr = std::string("0.0.0.0") + server_addr.substr(server_addr.rfind(':'));
Reply on news.ycombinator.com