Merge branch 'master' of ssh://gapil.gnulinux.it/srv/git/gapil
[gapil.git] / sources / TCP_echo_first.c
index 089bd67c7ebb0839a08da77c127b37bb67921034..cd0f7f65b5045143189cfc08a2f42cab9cb0f333 100644 (file)
  *
  * Usage: echo -h give all info's
  *
- * $Id$
- *
  ****************************************************************/
 /* 
  * 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 <string.h>     /* C strings library */
+#include <stdlib.h>     /* C standard library */
+
+#include "Gapil.h"
+#include "macros.h"
+
 
 #define MAXLINE 256
 void usage(void);