From 965188bac91e1e9166a95e4fda419b7b6394a040 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <valenok@gmail.com> Date: Tue, 9 Sep 2014 17:01:06 +0100 Subject: [PATCH] removed chat.c --- examples/chat.c | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 examples/chat.c diff --git a/examples/chat.c b/examples/chat.c deleted file mode 100644 index 2c9672eaf..000000000 --- a/examples/chat.c +++ /dev/null @@ -1,15 +0,0 @@ -#include "mongoose.h" - -int main(void) { - struct mg_server *server = mg_create_server(NULL); - mg_set_option(server, "listening_port", "8080"); - mg_set_option(server, "document_root", "chat_html_root"); - - printf("Starting on port %s\n", mg_get_option(server, "listening_port")); - for (;;) { - mg_poll_server(server, 1000); - } - mg_destroy_server(&server); - - return 0; -} -- GitLab