Browse Source

embedded_c example should always use http port 8884 IPv4, no matter if USE_IPV6 or NO_SSL is set

bel2125 8 years ago
parent
commit
4ed57f4e14
1 changed files with 3 additions and 3 deletions
  1. 3 3
      examples/embedded_c/embedded_c.c

+ 3 - 3
examples/embedded_c/embedded_c.c

@@ -21,15 +21,15 @@
 #define DOCUMENT_ROOT "."
 #ifdef NO_SSL
 #ifdef USE_IPV6
-#define PORT "[::]:8888"
+#define PORT "[::]:8888,8884"
 #else
-#define PORT "8888"
+#define PORT "8888,8884"
 #endif
 #else
 #ifdef USE_IPV6
 #define PORT "[::]:8888r,[::]:8843s,8884"
 #else
-#define PORT "8888r,8843s"
+#define PORT "8888r,8843s,8884"
 #endif
 #endif
 #define EXAMPLE_URI "/example"