From fc198042d3bb1f824bb6979209ebd1699f447e4d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 24 Aug 2008 21:23:28 +0000 Subject: [PATCH] document option to close 1343 --- doc/microhttpd.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/microhttpd.texi b/doc/microhttpd.texi index f3a927de..89917af0 100644 --- a/doc/microhttpd.texi +++ b/doc/microhttpd.texi @@ -284,6 +284,12 @@ should be followed by an @code{unsigned int}. The default is zero, which means no limit on the number of connections from the same IP address. +@item MHD_OPTION_SOCK_ADDR +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 incomming connections from anywhere. @end table