X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FTCP_echo_third.c;h=73aeb462ae4f6a717af1f009d341e230616ae81c;hp=680e0e8ea1c4a1a14ab5051d3049b5c49cd7ed26;hb=04c68576a3be5ccfda8faf2030d4cbc2997c29fa;hpb=d25090faca15102552d77c38161a8a34b0bac41e diff --git a/sources/TCP_echo_third.c b/sources/TCP_echo_third.c index 680e0e8..73aeb46 100644 --- a/sources/TCP_echo_third.c +++ b/sources/TCP_echo_third.c @@ -1,4 +1,4 @@ -/* TCP_echo.c +/* TCP_echo_third.c * * Copyright (C) 2001-2003 Simone Piccardi * @@ -18,30 +18,32 @@ */ /**************************************************************** * - * Program TCP_echo.c + * Program TCP_echo_third.c * Simple TCP client for echo service (port 7) + * This version use select * * Author: Simone Piccardi * Jun. 2001 * * Usage: echo -h give all info's * - * $Id: TCP_echo_third.c,v 1.1 2003/10/20 22:44:16 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 /* include error codes */ -#include /* include erroro strings definitions */ +#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 /* error definitions and routines */ +#include /* C strings library */ +#include /* C standard library */ +#include "Gapil.h" #include "macros.h" + #define MAXLINE 256 void usage(void); void ClientEcho(FILE * filein, int socket);