1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-07-29 21:01:13 +03:00

Bind to all IPv6 addresses in the example

This commit is contained in:
bel
2015-05-31 23:23:53 +02:00
parent 949034f7a5
commit dbc89c9ddc

View File

@ -16,7 +16,11 @@
#define DOCUMENT_ROOT "."
#ifdef USE_IPV6
#define PORT "8888,[::]:8886"
#else
#define PORT "8888"
#endif
#define EXAMPLE_URI "/example"
#define EXIT_URI "/exit"
int exitNow = 0;