Commentato il codice del server echo basato sulla funzione poll.
[gapil.git] / sources / poll_echod.c
index 9abccf4c58d0cb56b2ff01d122c32487ef598e25..c2192997dd31add52c185797de7021b02e37aecb 100644 (file)
@@ -26,7 +26,7 @@
  *
  * Usage: echod -h give all info
  *
- * $Id: poll_echod.c,v 1.2 2004/01/05 19:24:52 piccardi Exp $
+ * $Id: poll_echod.c,v 1.3 2004/02/17 23:48:46 piccardi Exp $
  *
  ****************************************************************/
 /* 
@@ -236,8 +236,9 @@ void usage(void) {
     printf("  -h          print this help\n");
     printf("  -d          write debug info\n");
     printf("  -i          use interactively\n");
-    printf("  -c          disable BSD semantics\n");
-    printf("  -w N        wait N sec. before calling accept\n");
+    printf("  -c          disable BSD signal semantics\n");
+    printf("  -n N        set max contemporary connection\n");
+    printf("  -w N        wait N sec. before calling poll\n");
     exit(1);
 }
 /*