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:
@ -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;
|
||||
|
Reference in New Issue
Block a user