Merge branch 'master' of ssh://gapil.gnulinux.it/srv/git/gapil
[gapil.git] / sources / UDP_daytime.c
index 97b7f6ce561633291eb376e2d8e8c8eef5da30d6..8f98a41d987df43b062884ac70bcd5d8495ed9df 100644 (file)
  *
  * Usage: daytime -h give all info's
  *
- * $Id: UDP_daytime.c,v 1.1 2004/03/20 22:42:07 piccardi Exp $
- *
  ****************************************************************/
 /* 
  * Include needed headers
  */
-#include <sys/types.h>   /* predefined types */
-#include <unistd.h>      /* include unix standard library */
-#include <arpa/inet.h>   /* IP addresses conversion utiliites */
-#include <sys/socket.h>  /* socket library */
-#include <stdio.h>      /* include standard I/O library */
+#include <sys/types.h>   /* primitive system data types */
+#include <unistd.h>      /* unix standard library */
+#include <arpa/inet.h>   /* IP addresses conversion utilities */
+#include <sys/socket.h>  /* socket constants, types and functions */
+#include <stdio.h>      /* standard I/O library */
+#include <stdlib.h>     /* C standard library */
+#include <string.h>     /* C strings library */
 
 #define MAXLINE 80
 /* Program begin */