Modifiche di ieri sera.
[gapil.git] / sources / TCP_countd.c
index 1cdfbf10c83080230b0675ad47238b952b98283c..43082c03809dade4ae381e5a7e0e00ae3dc72bcd 100644 (file)
 /****************************************************************
  *
  * Program countd: Elementary TCP server for teaching purpose, count
- * number of request to the server itself
+ * number of request to the server itself, use POSIX semaphores and
+ * shared memory
  *
  * Author: Simone Piccardi
  * Feb. 2007
  *
- * Usage: countdd -h give all info
+ * Usage: countd -h give all info
  *
  ****************************************************************/
 /* 
@@ -203,7 +204,7 @@ int main(int argc, char *argv[])
 void usage(void) {
     printf("A counter server\n");
     printf("Usage:\n");
-    printf("  echod [-h] \n");
+    printf("  countd [-h] \n");
     printf("  -h          print this help\n");
     printf("  -d          write debug info\n");
     printf("  -k          enable SO_KEEPALIVE\n");