]> git.ozlabs.org Git - ccan/blobdiff - ccan/net/_info
ccan: Correct some poor conventions in _info includes
[ccan] / ccan / net / _info
index a9c57206af368f1c7964fe50e0b41301738dcf99..5ac83f95cec1763d27490512c4cfa98d1bf594a9 100644 (file)
@@ -1,10 +1,13 @@
-#include <string.h>
 #include "config.h"
+#include <stdio.h>
+#include <string.h>
 
 /**
- * net - simple IPv4/IPv6 client library
+ * net - simple IPv4/IPv6 socket library
  *
- * This code makes it simple to support IPv4 and IPv6 without speed penalty.
+ * This code makes it simple to support IPv4 and IPv6 without speed penalty
+ * in clients by using non-blocking simultaneous connect, and using
+ * a convenience function to create both IPv4 and IPv6 sockets for servers.
  *
  * License: MIT
  *
@@ -64,6 +67,7 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
+               printf("ccan/noerr\n");
                return 0;
        }