commit f78f507c193b87f1a0d1f019a00b5ba1152ff567 parent d069fc37e7b16b2705911b815ef658d8323827f9 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 28 Feb 2012 19:21:32 +0000 -clarify MHD_OPTION_SOCK_ADDR Diffstat:
| M | doc/microhttpd.texi | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/microhttpd.texi b/doc/microhttpd.texi @@ -481,7 +481,9 @@ Bind daemon to the supplied socket address. This option should be followed by a @code{struct sockaddr *}. If @code{MHD_USE_IPv6} is specified, the @code{struct sockaddr*} should point to a @code{struct sockaddr_in6}, otherwise to a @code{struct sockaddr_in}. If this option is not specified, -the daemon will listen to incoming connections from anywhere. +the daemon will listen to incoming connections from anywhere. If you use this +option, the 'port' argument from @code{MHD_start_daemon} is ignored and the port +from the given @code{struct sockaddr *} will be used instead. @item MHD_OPTION_URI_LOG_CALLBACK @cindex debugging