[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7688 - libmicrohttpd-docs/WWW

From: gnunet
Subject: [GNUnet-SVN] r7688 - libmicrohttpd-docs/WWW
Date: Wed, 10 Sep 2008 21:57:38 -0600 (MDT)

Author: grothoff
Date: 2008-09-10 21:57:38 -0600 (Wed, 10 Sep 2008)
New Revision: 7688


Modified: libmicrohttpd-docs/WWW/index.html
--- libmicrohttpd-docs/WWW/index.html   2008-09-11 03:54:38 UTC (rev 7687)
+++ libmicrohttpd-docs/WWW/index.html   2008-09-11 03:57:38 UTC (rev 7688)
@@ -32,6 +32,8 @@
 <li>Support for incremental processing of POST data</li>
 <li>Creates binary of only 25k (for now)</li>
 <li>Three different threading models</li>
+<li>Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, 
+   OS X, W32 and z/OS</li>
 libmicrohttpd was started because the author needed an easy way to add
 a concurrent HTTP server to other projects.  Existing alternatives
@@ -79,8 +81,17 @@
 format.  The rest of this section gives a general overview.
 <p >
-Here is a minimal example (included in the distribution):
+Before including the <tt>microhttpd.h</tt> header you must include the
+headers in your operating system that define the <tt>size_t</tt>,
+<tt>fd_set</tt>, <tt>socklen_t</tt> and <tt>struct sockaddr</tt> data
+Here is a minimal example for GNU/Linux (included in the distribution):
+#include &lt;sys/types.h&gt;
+#include &lt;sys/select.h&gt;
+#include &lt;sys/socket.h&gt;
 #include &lt;microhttpd.h&gt;
 #include &lt;stdlib.h&gt;
 #include &lt;string.h&gt;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]