Aggiornamento note copyright
[gapil.git] / sources / TCP_daytime.c
index 80e2c3835f3dc633a2f078f8370893a35a494f76..ddb8e129b40d485b7a305ab50bc8842df9f29868 100644 (file)
 /* 
  * Include needed headers
  */
-#include <sys/types.h>   /* primitive system data types */
+#include <stdlib.h>     /* standard library */
+//#include <sys/types.h>   /* primitive system data types */
 #include <unistd.h>      /* unix standard library */
-#include <arpa/inet.h>   /* IP addresses conversion utiliites */
+#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 <string.h>     /* C strings library */
 
 #define MAXLINE 80
 /* Program begin */