commit fc198042d3bb1f824bb6979209ebd1699f447e4d parent 3615d3a3a16c6860b29e0ca198aea53a07172da4 Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 24 Aug 2008 21:23:28 +0000 document option to close 1343 Diffstat:
| M | doc/microhttpd.texi | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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