X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FTCP_echo_first.c;h=cd0f7f65b5045143189cfc08a2f42cab9cb0f333;hp=93083b37aa58a0c67effe3df5fc6d05668d792fb;hb=26f7a8bb19c6cb198c213757a97b6ac79e40db4b;hpb=49ae2790472cc2ad1e54ea26d037306598f9c83b diff --git a/sources/TCP_echo_first.c b/sources/TCP_echo_first.c index 93083b3..cd0f7f6 100644 --- a/sources/TCP_echo_first.c +++ b/sources/TCP_echo_first.c @@ -20,23 +20,28 @@ * * Program TCP_echo_first.c (former ElemEchoTCPClient) * Simple TCP client for echo service (port 7) + * First version, broken in many ways, that will be corrected later * * Author: Simone Piccardi * Jun. 2001 * * Usage: echo -h give all info's * - * $Id: TCP_echo_first.c,v 1.2 2003/07/27 23:41:04 piccardi Exp $ - * ****************************************************************/ /* * Include needed headers */ -#include /* predefined types */ -#include /* include unix standard library */ -#include /* IP addresses conversion utiliites */ -#include /* socket library */ -#include /* include standard I/O library */ +//#include /* primitive system data types */ +#include /* unix standard library */ +#include /* IP addresses conversion utilities */ +#include /* socket constants, types and functions */ +#include /* standard I/O library */ +#include /* C strings library */ +#include /* C standard library */ + +#include "Gapil.h" +#include "macros.h" + #define MAXLINE 256 void usage(void);